ikvm-fork/runtime/runtime.build

96 строки
4.5 KiB
Plaintext
Исходник Обычный вид История

2004-05-27 11:12:04 +04:00
<?xml version="1.0"?>
<project name="IKVM.Runtime" default="IKVM.Runtime">
<target name="first-pass">
<property name="first-pass" value="true" />
<call target="IKVM.Runtime" />
</target>
<target name="classpath">
<property name="classpath" value="true" />
2005-10-01 15:16:11 +04:00
<call target="IKVM.Runtime" />
</target>
2006-03-01 15:26:25 +03:00
<target name="signed">
<property name="classpath" value="false" />
2006-03-01 15:26:25 +03:00
<property name="signed" value="SIGNCODE" />
<property name="signoption" value="-key:ikvm-key" />
<property name="ilasm_signoption" value="/key:@ikvm-key" />
<call target="IKVM.Runtime" />
</target>
2005-10-01 15:16:11 +04:00
<target name="IKVM.Runtime.JNI">
<csc target="library" output="IKVM.Runtime.JNI.dll" define="${defs}" optimize="true" unsafe="true" rebuild="true">
<sources>
<include name="../CommonAssemblyInfo.cs" />
<include name="JniInterface.cs" />
</sources>
<references>
<include unless="${first-pass or not classpath}" name="../bin/IKVM.GNU.Classpath.dll" asis="true" />
<include unless="${first-pass or classpath}" name="../bin/IKVM.OpenJDK.ClassLibrary.dll" asis="true" />
<include name="../bin/IKVM.Runtime.dll" asis="true" />
</references>
</csc>
<copy file="IKVM.Runtime.JNI.dll" todir="../bin" />
</target>
2004-05-27 11:12:04 +04:00
<target name="IKVM.Runtime">
<property overwrite="false" name="classpath" value="false" />
2005-12-07 12:06:32 +03:00
<property overwrite="false" name="cfnet" value="false" />
<property overwrite="false" name="first-pass" value="false" />
2005-10-01 15:16:11 +04:00
<property name="defs" value="TRACE" />
2005-12-07 12:06:32 +03:00
<if test="${property::exists('signed')}">
2005-10-01 15:16:11 +04:00
<property name="defs" value="${defs};${signed}" />
</if>
<if test="${not classpath}">
<property name="defs" value="${defs};OPENJDK" />
2005-10-01 15:16:11 +04:00
</if>
<if test="${first-pass}">
<property name="defs" value="${defs};FIRST_PASS" />
</if>
<if test="${not first-pass}">
<call target="IKVM.Runtime.JNI" />
</if>
<csc target="library" output="IKVM.Runtime.dll" define="${defs}" optimize="true" unsafe="false" rebuild="true">
2004-05-27 11:12:04 +04:00
<sources>
<include name="../CommonAssemblyInfo.cs" />
2006-04-10 13:09:09 +04:00
<include name="AssemblyInfo.cs" />
<include name="atomic.cs" />
2006-04-10 13:09:09 +04:00
<include name="attributes.cs" />
<include name="BigEndianBinaryReader.cs" />
<include name="ByteCode.cs" />
<include name="ByteCodeHelper.cs" />
<include name="ClassFile.cs" />
<include name="ClassLoaderWrapper.cs" />
<include if="${classpath}" name="classpath.cs" />
2006-04-10 13:09:09 +04:00
<include name="CodeEmitter.cs" />
<include name="common.cs" />
2006-04-10 13:09:09 +04:00
<include name="compiler.cs" />
<include name="CoreClasses.cs" />
<include name="DynamicClassLoader.cs" />
<include name="ExceptionHelper.cs" />
<include name="JavaException.cs" />
<include name="MemberWrapper.cs" />
<include unless="${classpath}" name="openjdk.cs" />
2006-04-10 13:09:09 +04:00
<include name="profiler.cs" />
<include name="tracer.cs" />
<include name="TypeWrapper.cs" />
<include name="verifier.cs" />
<include name="vm.cs" />
2004-05-27 11:12:04 +04:00
</sources>
<resources>
<include if="${not classpath and not first-pass}" name="../openjdk/vfs.zip" />
</resources>
<references>
<include unless="${first-pass}" name="../bin/IKVM.Runtime.JNI.dll" asis="true" />
<include unless="${first-pass or not classpath}" name="../bin/IKVM.GNU.Classpath.dll" asis="true" />
<include unless="${first-pass or classpath}" name="../bin/IKVM.OpenJDK.ClassLibrary.dll" asis="true" />
<!-- HACK mcs requires an explicit reference to System.Configuration -->
<include name="${framework::get-assembly-directory(framework::get-target-framework())}/System.Configuration.dll" />
</references>
2007-06-05 10:57:18 +04:00
<nowarn>
<!-- don't whine about deprecated methods -->
<warning number="618" />
</nowarn>
2004-05-27 11:12:04 +04:00
</csc>
<copy file="IKVM.Runtime.dll" todir="../bin" />
2004-05-27 11:12:04 +04:00
</target>
</project>