diff options
author | Vincent Lucas <chenzo@jitsi.org> | 2013-02-27 02:57:35 +0000 |
---|---|---|
committer | Vincent Lucas <chenzo@jitsi.org> | 2013-02-27 02:57:35 +0000 |
commit | 528bdb40d576c01e433242bed5ecc48849fc8624 (patch) | |
tree | 21b328d51d7a8f44e0615d9e5e484c646c175828 /src/native/build.xml | |
parent | c85ca6ca0c6b2bcf7c0a4582a25da14d163a6f69 (diff) | |
download | jitsi-528bdb40d576c01e433242bed5ecc48849fc8624.zip jitsi-528bdb40d576c01e433242bed5ecc48849fc8624.tar.gz jitsi-528bdb40d576c01e433242bed5ecc48849fc8624.tar.bz2 |
Implements contact details edition and notification for outlook.
Diffstat (limited to 'src/native/build.xml')
-rw-r--r-- | src/native/build.xml | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/src/native/build.xml b/src/native/build.xml index 3876ca6..5e70d77 100644 --- a/src/native/build.xml +++ b/src/native/build.xml @@ -832,5 +832,43 @@ <echo message="When compiling libjnportaudio you have to tell ant script the directory of portaudio and speex with" /> <echo message="-Dportaudio=/path/to/portaudio and -Dspeex=/path/to/speex" /> </target> -</project> + <!-- compile jnwmsoutlookaddrbook library for Windows (32-bit/64-bit) --> + <target + name="msoutlookaddrbook" + description="Build jmsoutlookaddrbook shared library for Windows" + if="is.running.windows" + depends="init-native"> + <cc name="gcc" + objdir="${obj}" + outfile="${native_install_dir}/jmsoutlookaddrbook" + outtype="shared"> + + <compilerarg value="-D_JNI_IMPLEMENTATION_" /> + <compilerarg value="-D_WIN32_WINNT=0x0502" /> + <compilerarg value="-DWINVER=0x0502" /> + <compilerarg value="-I${system.JAVA_HOME}/include" /> + <compilerarg value="-I${system.JAVA_HOME}/include/win32" /> + <compilerarg value="-O2" /> + <compilerarg value="-Wall" /> + <compilerarg value="-Wreturn-type" /> + <compilerarg value="-m32" if="cross_32" /> + <compilerarg value="-m64" if="cross_64" /> + + <linkerarg value="-ojmsoutlookaddrbook.dll" /> + <linkerarg value="-Wl,--kill-at" /> + <linkerarg value="-Wl,--subsystem,windows" /> + <libset libs="mapi32" /> + <libset libs="uuid" /> + <linkerarg value="-m32" if="cross_32" /> + <linkerarg value="-m64" if="cross_64" /> + + <fileset dir="${src}/native/addrbook" includes="*.c" /> + <fileset dir="${src}/native/addrbook/msoutlook" includes="*.cxx" /> + <fileset dir="${src}/native/addrbook/msoutlook/lib" includes="*.cxx" /> + </cc> + + <delete dir="${obj}" failonerror="false" /> + <delete file="${native_install_dir}/history.xml" failonerror="false" /> + </target> +</project> |