Ignore:
Timestamp:
2005-10-20T15:17:07+13:00 (18 years ago)
Author:
kjdon
Message:

added in javagdbm compiling stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/build.xml

    r10742 r10746  
    115115  <property name="mg.home" value="${packages.home}/mg"/>
    116116  <property name="mgpp.home" value="${packages.home}/mgpp"/>
     117  <property name="javagdbm.home" value="${packages.home}/javagdbm"/>
    117118  <property name="mysql.home" value="${packages.home}/mysql"/>
    118119  <property name="gsdl-as.home" value="${packages.home}/gsdl-as"/>
     
    11061107      <arg value="--libdir=${lib.jni}"/>
    11071108    </exec>
     1109    <echo>
     1110      Configuring JavaGDBM
     1111    </echo>
     1112    <exec executable="${javagdbm.home}/configure" os="${os.linux},${os.mac}"
     1113      dir="${javagdbm.home}">
     1114      <arg value="--prefix=${basedir}"/>
     1115      <arg value="--libdir=${lib.jni}"/>
     1116    </exec>   
    11081117  </target>
    11091118
    11101119  <target name="clean-packages" depends="init,clean-packages-c++,clean-packages-java" description="Clean only the packages"/>
     1120
    11111121  <target name="clean-packages-c++" depends="init">
    11121122    <!-- mg : just call the make target -->
     
    11201130      <arg value="clean"/>
    11211131    </exec>
    1122   </target>
     1132    <!-- javagdbm -->
     1133    <exec executable="make" os="${os.linux},${os.mac}"
     1134      dir="${javagdbm.home}">
     1135      <arg value="clean"/>
     1136    </exec>
     1137  </target>
     1138 
    11231139  <target name="clean-packages-java" depends="init">
    11241140    <!-- vishnu : just call the ant target -->
     
    11811197    <copy file="${mgpp.home}/mgpp.jar" todir="${lib.jni}"/>
    11821198   
     1199    <!-- javagdbm -->
     1200    <exec executable="make" os="${os.linux},${os.mac}"
     1201      dir="${javagdbm.home}">
     1202    </exec>
     1203    <exec executable="make" os="${os.linux},${os.mac}"
     1204      dir="${javagdbm.home}">
     1205      <arg value="install"/>
     1206    </exec>
     1207    <!-- windows: just the java stuff. -->
     1208    <exec executable="${javagdbm.home}/winMake.bat" os="${os.windows}"
     1209      dir="${javagdbm.home}">
     1210      <arg value="compile"/>
     1211      <arg value="javaonly"/>
     1212    </exec>
     1213    <!-- install the jar file -->
     1214    <copy file="${javagdbm.home}/javagdbm.jar" todir="${lib.jni}"/>
     1215
    11831216    <!-- vishnu -->
    11841217    <echo>Compiling Vishnu</echo>
     
    12031236      <env key="GSDL3HOME" value="${basedir}"/>
    12041237    </exec>
    1205    <exec executable="${mgpp.home}/winMake.bat" dir="${mgpp.home}"/>
     1238    <exec executable="${mgpp.home}/winMake.bat" dir="${mgpp.home}"/>
    12061239    <exec executable="${mgpp.home}/winMake.bat" dir="${mgpp.home}">
     1240      <arg value="install"/>
     1241      <env key="GSDL3HOME" value="${basedir}"/>
     1242    </exec>
     1243    <exec executable="${javagdbm.home}/winMake.bat" dir="${javagdbm.home}"/>
     1244    <exec executable="${javagdbm.home}/winMake.bat" dir="${javagdbm.home}">
    12071245      <arg value="install"/>
    12081246      <env key="GSDL3HOME" value="${basedir}"/>
Note: See TracChangeset for help on using the changeset viewer.