axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject cvs commit: ws-axis/c/build buildXMLParser.xml
Date Wed, 03 Aug 2005 10:27:42 GMT
samisa      2005/08/03 03:27:42

  Modified:    c/build  buildXMLParser.xml
  Log:
  Added guththila stuff
  
  Revision  Changes    Path
  1.6       +88 -2     ws-axis/c/build/buildXMLParser.xml
  
  Index: buildXMLParser.xml
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/build/buildXMLParser.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- buildXMLParser.xml	16 Mar 2005 16:50:45 -0000	1.5
  +++ buildXMLParser.xml	3 Aug 2005 10:27:42 -0000	1.6
  @@ -9,6 +9,83 @@
           <antcall target="buildVersionResource" inheritall="true">
               <param name="internalName" value="${xmlParserLibraryName}"/>
           </antcall>
  +<!-- Before Using Guththila need to build it -->
  +<!-- Starting Building Guththila -->
  +    <if>
  +        <equals arg1="${xmlParser.guththila}" arg2="true"/>
  +	<then>
  +	<mkdir dir="${dir.xmlParser}/lib"/>
  +                <if>
  +			<not>
  +				<isset property="aix"/>
  +			</not>
  +			<then>
  +				<!--
  +				  Library name may have been change if windows debug build. Changed
  +				  in buildInitialize.xml
  +				  -->
  +				<cc outfile="${dir.xmlParser}/lib/${xmlParserLibrary}" objdir="${dir.objects}"
  +				 exceptions="true" outtype="shared" multithreaded="true">
  +				 	<!-- Compilers -->
  +					<compiler refid="SolarisCC"/>
  +					<compiler refid="Linuxgcc"/>
  +					<compiler refid="AIXxlc"/>
  +					<compiler extends="VisualC++">
  +						<defineset>
  +							<define name="AXISXMLPARSERXERCES_EXPORTS"/>
  +						</defineset>
  +					</compiler>
  +                              <compiler refid="OS400icc"/>
  +			            <defineset>
  +			                  <define name="ENABLE_AXISTRACE" if="trace"/>
  +			                  <define name="AXISTRACE_LIBRARY"/>
  +			            </defineset>
  +
  +					<!-- Additional include directory for XML Parser -->
  +					<includepath path="${dir.xmlParser}"/>
  +					<!-- Linkers -->
  +					<linker refid="SolarisLinker"/>
  +					<linker refid="VisualC++Linker"/>
  +					<linker refid="LinuxLinker"/>
  +					<linker refid="AIXLinker"/>
  +			            <linker extends="OS400Linker">
  +                                 <linkerarg value="-qDUPPROC"/>
  +                                 <linkerarg value="-qDUPVAR"/>
  +                                 <linkerarg location="end" value="${dir.xmlParser}/lib/${xmlParser}.so"/>
  +                              </linker>
  +
  +					<!-- Additional library of XMLParser -->
  +					<!-- Files to be compiled -->
  +					<fileset dir="${dir.xmlParser}">
  +						<include name="*.cpp"/>
  +					</fileset>
  +				</cc>
  +			</then>
  +			<else>
  +				<cc outfile="${dir.xmlParser}/lib/${libraryPrefix}${xmlParserLibrary}${librarySuffix}"
objdir="${dir.objects}"
  +				 exceptions="true" multithreaded="true">
  +				 	<!-- Compilers -->
  +					<compiler refid="AIXxlc"/>
  +			            <defineset>
  +			                  <define name="ENABLE_AXISTRACE" if="trace"/>
  +			                  <define name="AXISTRACE_LIBRARY"/>
  +			            </defineset>
  +
  +					<!-- Additional include directory for XML Parser -->
  +					<includepath path="${dir.xmlParser}"/>
  +					<!-- Linkers -->
  +					<linker refid="AIXLinker"/>
  +					<!-- Additional library of XMLParser -->
  +					<!-- Files to be compiled -->
  +					<fileset dir="${dir.xmlParser}">
  +						<include name="*.cpp"/>
  +					</fileset>
  +				</cc>
  +			</else>
  +		</if>
  +         </then>
  +	 </if>
  +<!-- Finish Building Guththila -->
   		<if>
   			<not>
   				<isset property="aix"/>
  @@ -36,8 +113,9 @@
   			            </defineset>
   
   					<!-- Additional include directory for XML Parser -->
  -					<includepath path="${dir.xmlParser}/include"/>
  -					<includepath path="${dir.xmlParser}/lib"/>
  +					<includepath path="${dir.xmlParser}" if= "guththila.xmlParserLibrary"/>
  +					<includepath path="${dir.xmlParser}/include" unless="guththila.xmlParserLibrary"/>
  +					<includepath path="${dir.xmlParser}/lib" unless="guththila.xmlParserLibrary"/>
   					<!-- Linkers -->
   					<linker refid="SolarisLinker"/>
   					<linker refid="VisualC++Linker"/>
  @@ -83,5 +161,13 @@
   				</cc>
   			</else>
   		</if>
  +                <if>
  +		      <equals arg1="${xmlParser.guththila}" arg2="true"/>
  +		      <then>
  +              	         <move file="${dir.xmlParser}/lib/libguththila.so" todir="${env.AXISCPP_DEPLOY}/lib"/>
  +		         <delete dir="${dir.xmlParser}/lib"/>
  +		      </then>
  +		</if>
  + 
   	</target>
   </project>
  
  
  

Mime
View raw message