2002-12-18 19:00:25 +03:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<project name="awt" default="awt">
|
2010-08-20 09:35:49 +04:00
|
|
|
<include buildfile="../ikvm.include" />
|
2010-06-09 16:26:28 +04:00
|
|
|
<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">
|
2005-01-07 12:34:19 +03:00
|
|
|
<property overwrite="false" name="signed" value="" />
|
2010-06-09 16:26:28 +04:00
|
|
|
<csc target="library" output="../bin/IKVM.AWT.WinForms.dll" define="FIRST_PASS;${signed}" rebuild="true">
|
|
|
|
<sources>
|
|
|
|
<include name="../CommonAssemblyInfo.cs" />
|
|
|
|
<include name="AssemblyInfo.cs" />
|
|
|
|
<include name="native.cs" />
|
|
|
|
</sources>
|
|
|
|
<references>
|
|
|
|
<include name="System.Windows.Forms.dll" asis="true" />
|
|
|
|
<include name="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">
|
2002-12-18 19:00:25 +03:00
|
|
|
<sources>
|
2008-01-03 12:45:49 +03:00
|
|
|
<include name="../CommonAssemblyInfo.cs" />
|
2007-08-16 13:53:02 +04:00
|
|
|
<include name="AssemblyInfo.cs" />
|
|
|
|
<include name="converter.cs" />
|
2008-12-22 08:50:30 +03:00
|
|
|
<include name="fonts-0.95.cs" />
|
2007-08-16 13:53:02 +04:00
|
|
|
<include name="graphics.cs" />
|
2010-11-01 15:30:14 +03:00
|
|
|
<include name="composite.cs" />
|
2007-08-16 13:53:02 +04:00
|
|
|
<include name="images.cs" />
|
2010-06-09 16:26:28 +04:00
|
|
|
<include name="native.cs" />
|
2009-03-03 23:05:35 +03:00
|
|
|
<include name="printing.cs" />
|
2007-08-16 13:53:02 +04:00
|
|
|
<include name="robot.cs" />
|
2008-12-22 08:50:30 +03:00
|
|
|
<include name="toolkit-0.95.cs" />
|
2002-12-18 19:00:25 +03:00
|
|
|
</sources>
|
|
|
|
<references>
|
2008-12-23 10:28:20 +03:00
|
|
|
<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" />
|
2009-07-07 15:59:08 +04:00
|
|
|
<include name="../bin/IKVM.OpenJDK.Media.dll" asis="true" />
|
2008-12-23 10:28:20 +03:00
|
|
|
<include name="../bin/IKVM.OpenJDK.Misc.dll" asis="true" />
|
2005-12-07 12:06:32 +03:00
|
|
|
<include name="../bin/IKVM.Runtime.dll" asis="true" />
|
|
|
|
<include name="System.Windows.Forms.dll" asis="true" />
|
|
|
|
<include name="System.Drawing.dll" asis="true" />
|
2002-12-18 19:00:25 +03:00
|
|
|
</references>
|
2009-04-15 08:21:47 +04:00
|
|
|
<nowarn>
|
|
|
|
<!-- disable warnings about obsolete members (because the peer API has lots of those) -->
|
|
|
|
<warning number="612" />
|
|
|
|
</nowarn>
|
2002-12-18 19:00:25 +03:00
|
|
|
</csc>
|
2010-08-20 09:35:49 +04:00
|
|
|
<if test="${property::exists('peverify')}">
|
|
|
|
<exec program="${peverify}" commandline="-nologo ../bin/IKVM.AWT.WinForms.dll" />
|
2010-06-11 10:58:52 +04:00
|
|
|
</if>
|
2002-12-18 19:00:25 +03:00
|
|
|
</target>
|
|
|
|
</project>
|