a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
73 lines
3.6 KiB
XML
73 lines
3.6 KiB
XML
<?xml version="1.0"?>
|
|
<project name="awt" default="awt">
|
|
<include buildfile="../ikvm.include" />
|
|
<target name="AssemblyInfo.cs">
|
|
<loadfile file="../tools/pubkey.txt" property="publickey" />
|
|
<copy file="AssemblyInfo.cs.in" tofile="AssemblyInfo.cs" overwrite="true">
|
|
<filterchain>
|
|
<replacetokens>
|
|
<token key="PUBLICKEY" value="${publickey}" />
|
|
</replacetokens>
|
|
</filterchain>
|
|
</copy>
|
|
</target>
|
|
<target name="first-pass" depends="AssemblyInfo.cs">
|
|
<property overwrite="false" name="signed" value="" />
|
|
<csc target="library" output="../bin/IKVM.AWT.WinForms.dll" define="FIRST_PASS;${signed}" rebuild="true" nostdlib="true" noconfig="true">
|
|
<sources>
|
|
<include name="../CommonAssemblyInfo.cs" />
|
|
<include name="AssemblyInfo.cs" />
|
|
<include name="native.cs" />
|
|
<include name="ShellApi.cs" />
|
|
<include name="theming.cs" />
|
|
</sources>
|
|
<references>
|
|
<include name="${ReferencePath}/mscorlib.dll" asis="true" />
|
|
<include name="${ReferencePath}/System.dll" asis="true" />
|
|
<include name="${ReferencePath}/System.Windows.Forms.dll" asis="true" />
|
|
<include name="${ReferencePath}/System.Drawing.dll" asis="true" />
|
|
</references>
|
|
</csc>
|
|
</target>
|
|
<target name="awt" depends="AssemblyInfo.cs">
|
|
<property overwrite="false" name="signed" value="" />
|
|
<csc target="library" output="../bin/IKVM.AWT.WinForms.dll" define="TRACE;${signed}" rebuild="true" nostdlib="true" noconfig="true">
|
|
<sources>
|
|
<include name="../CommonAssemblyInfo.cs" />
|
|
<include name="AssemblyInfo.cs" />
|
|
<include name="converter.cs" />
|
|
<include name="fonts-0.95.cs" />
|
|
<include name="graphics.cs" />
|
|
<include name="composite.cs" />
|
|
<include name="IconFactory.cs" />
|
|
<include name="images.cs" />
|
|
<include name="native.cs" />
|
|
<include name="printing.cs" />
|
|
<include name="robot.cs" />
|
|
<include name="toolkit-0.95.cs" />
|
|
<include name="ShellApi.cs" />
|
|
<include name="theming.cs" />
|
|
</sources>
|
|
<references>
|
|
<include name="../bin/IKVM.OpenJDK.Core.dll" asis="true" />
|
|
<include name="../bin/IKVM.OpenJDK.Text.dll" asis="true" />
|
|
<include name="../bin/IKVM.OpenJDK.SwingAWT.dll" asis="true" />
|
|
<include name="../bin/IKVM.OpenJDK.Media.dll" asis="true" />
|
|
<include name="../bin/IKVM.OpenJDK.Misc.dll" asis="true" />
|
|
<include name="../bin/IKVM.Runtime.dll" asis="true" />
|
|
<include name="${ReferencePath}/mscorlib.dll" asis="true" />
|
|
<include name="${ReferencePath}/System.dll" asis="true" />
|
|
<include name="${ReferencePath}/System.Windows.Forms.dll" asis="true" />
|
|
<include name="${ReferencePath}/System.Drawing.dll" asis="true" />
|
|
</references>
|
|
<nowarn>
|
|
<!-- disable warnings about obsolete members (because the peer API has lots of those) -->
|
|
<warning number="612" />
|
|
</nowarn>
|
|
</csc>
|
|
<if test="${property::exists('peverify')}">
|
|
<exec program="${peverify}" commandline="-nologo ../bin/IKVM.AWT.WinForms.dll" />
|
|
</if>
|
|
</target>
|
|
</project>
|