| <project name="Axis C Transport" default="compileAxisTransport" |
| basedir=".."> |
| |
| <!-- |
| Compile the Axis Transport Library |
| --> |
| <target name="compileAxisTransport"> |
| <mkdir dir="${dir.objects}" /> |
| <mkdir dir="${dir.bin}" /> |
| <antcall target="buildVersionResource" inheritall="true"> |
| <param name="internalName" value="${transportLibraryName}" /> |
| </antcall> |
| <if> |
| <not> |
| <isset property="aix" /> |
| </not> |
| <then> |
| <!-- |
| Library name may have been change if windows debug build. Changed |
| in buildInitialize.xml |
| --> |
| <cc outfile="${dir.bin}/${transportLibraryName}" |
| objdir="${dir.objects}" exceptions="true" outtype="shared" |
| multithreaded="true"> |
| <!-- Compilers --> |
| <compiler refid="SolarisCC" /> |
| <compiler refid="Linuxgcc" /> |
| <compiler refid="HP-UXaC++" /> |
| <compiler extends="VisualC++"> |
| <defineset> |
| <define name="AXISTRANSPORTDLL_EXPORTS" /> |
| </defineset> |
| </compiler> |
| <compiler refid="OS400icc" /> |
| |
| <!-- Linkers --> |
| <linker refid="SolarisLinker" /> |
| <linker refid="LinuxLinker" /> |
| <linker refid="HP-UXLinker" /> |
| <linker extends="VisualC++Linker"> |
| <syslibset libs="wsock32" /> |
| </linker> |
| <linker refid="OS400Linker" /> |
| <!-- Files to compile --> |
| <fileset dir="${dir.src}"> |
| <include name="soap/apr_base64.cpp" /> |
| <include name="transport/${transport}/*.cpp" /> |
| <include name="common/AxisTrace.cpp"/> |
| <include name="platforms/os400/PlatformLanguage.cpp" if="os400"/> |
| <include name="platforms/os400/PlatformSpecificOS400.cpp" if="os400" /> |
| <include name="platforms/windows/PlatformSpecificWindows.cpp" if="windows" /> |
| </fileset> |
| </cc> |
| </then> |
| <else> |
| <cc |
| outfile="${dir.bin}/${libraryPrefix}${transportLibraryName}${librarySuffix}" |
| objdir="${dir.objects}" exceptions="true" multithreaded="true"> |
| <!-- Compilers --> |
| <compiler refid="AIXxlc" /> |
| |
| <!-- Linkers --> |
| <linker refid="AIXLinker" /> |
| <!-- Files to compile --> |
| <fileset dir="${dir.src}"> |
| <include name="soap/apr_base64.cpp" /> |
| <include name="transport/${transport}/*.cpp" /> |
| <include name="common/AxisTrace.cpp"/> |
| </fileset> |
| </cc> |
| </else> |
| </if> |
| </target> |
| </project> |