Hello,
Here is a Makefile for buliding IronPython 2.0a3 using Unix.
This makefile will create the needed directories, uses Unix pathnames
and includes the missing reference to the AssemblyVersion.cs file that
is required to build IronPython in a couple of places that were missing
in the bundled Makefile.
To build use:
$ make CSC=gmcs
Miguel.
CSC=csc
CONFIG=Debug
all:../bin/$(CONFIG) ../Bin/$(CONFIG)/Microsoft.Scripting.dll ../Bin/$(CONFIG)/IronPython.dll ../Bin/$(CONFIG)/IronPython.Modules.dll ../Bin/$(CONFIG)/IronPythonTest.dll ../Bin/$(CONFIG)/ipy.exe ../Bin/$(CONFIG)/ipyw.exe
../bin/$(CONFIG):
mkdir -p $@
../Bin/$(CONFIG)/Microsoft.Scripting.dll:
$(CSC) -t:library -t:library -out:../Bin/$(CONFIG)/Microsoft.Scripting.dll -r:System.Configuration.dll -recurse:Microsoft.Scripting/*.cs
../Bin/$(CONFIG)/IronPython.dll: ../Bin/$(CONFIG)/Microsoft.Scripting.dll
$(CSC) -t:library -t:library -r:../Bin/$(CONFIG)/Microsoft.Scripting.dll -out:../Bin/$(CONFIG)/IronPython.dll -recurse:IronPython/*.cs AssemblyVersion.cs
../Bin/$(CONFIG)/IronPython.Modules.dll: ../Bin/$(CONFIG)/Microsoft.Scripting.dll ../Bin/$(CONFIG)/IronPython.dll
$(CSC) -t:library -t:library -r:../Bin/$(CONFIG)/Microsoft.Scripting.dll -r:../Bin/$(CONFIG)/IronPython.dll -out:../Bin/$(CONFIG)/IronPython.Modules.dll -recurse:IronPython.Modules/*.cs AssemblyVersion.cs
../Bin/$(CONFIG)/IronPythonTest.dll: ../Bin/$(CONFIG)/Microsoft.Scripting.dll ../Bin/$(CONFIG)/IronPython.dll
$(CSC) -t:library -t:library -out:../Bin/$(CONFIG)/IronPythonTest.dll -r:../Bin/$(CONFIG)/Microsoft.Scripting.dll -r:../Bin/$(CONFIG)/IronPython.dll -recurse:IronPythonTest/*.cs
../Bin/$(CONFIG)/ipy.exe: ../Bin/$(CONFIG)/IronPython.dll ../Bin/$(CONFIG)/Microsoft.Scripting.dll
$(CSC) -t:library -r:../Bin/$(CONFIG)/Microsoft.Scripting.dll -r:../Bin/$(CONFIG)/IronPython.dll -out:../Bin/$(CONFIG)/ipy.exe -recurse:IronPythonConsole/*.cs AssemblyVersion.cs
../Bin/$(CONFIG)/ipyw.exe: ../Bin/$(CONFIG)/IronPython.dll ../Bin/$(CONFIG)/Microsoft.Scripting.dll
$(CSC) -t:library -r:../Bin/$(CONFIG)/Microsoft.Scripting.dll -r:../Bin/$(CONFIG)/IronPython.dll -define:IRONPYTHON_WINDOW -out:../Bin/$(CONFIG)/ipy.exe -recurse:IronPythonConsole/*.cs AssemblyVersion.cs
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com