2 CSC= $(RUNTIME) ../mcs/mcs.exe
3 CSCRIPT=$(WINDIR)/system32/cscript.exe
4 CSCFLAGS=/nologo /debug+ /debug:full
5 INSTALL = /usr/bin/install
7 MONO_TOOLS = monostyle.exe GenerateDelegate.exe EnumCheck.exe IFaceDisco.exe ./SqlSharp/sqlsharp.exe secutil.exe cert2spc.exe
11 # tools commented here because they were unable to build under linux
12 #MONO_TOOLS = monostyle.exe verifier.exe GenerateDelegate.exe EnumCheck.exe IFaceDisco.exe ./type-reflector/type-reflector.exe ./corcompare/CorCompare.exe ./SqlSharp/SqlSharpCli.exe
20 windows: $(MONO_TOOLS)
23 if test x$$prefix = x; then \
24 echo Usage is: make -f makefile.gnu install prefix=YOURPREFIX; \
27 mkdir -p $(prefix)/bin/
28 for i in $(MONO_TOOLS) ; do \
29 ($(INSTALL) -m 755 $$i $(prefix)/bin/) || exit 1; \
32 monostyle.exe: monostyle.cs
33 $(CSC) $(CSCFLAGS) monostyle.cs
35 GenerateDelegate.exe: GenerateDelegate.cs
36 $(CSC) $(CSCFLAGS) /out:$@ $<
38 verifier.exe: verifier.cs
39 $(CSC) $(CSCFLAGS) verifier.cs
41 ./SqlSharp/sqlsharp.exe: dummy
44 ./corcompare/CorCompare.exe: dummy
45 (cd corcompare; make CorCompare.exe)
47 update: ../../mono/doc/pending-classes
49 cormissing.xml: ./corcompare/CorCompare.exe ../class/lib/corlib_cmp.dll
50 ./corcompare/CorCompare.exe -x cormissing.xml -f corlib -ms mscorlib ../class/lib/corlib_cmp.dll
52 ../../mono/doc/pending-classes: ./corcompare/cormissing.xsl cormissing.xml
53 $(CSCRIPT) /nologo ./corcompare/transform.js cormissing.xml ./corcompare/cormissing.xsl > ../../mono/doc/pending-classes
56 EnumCheck: EnumCheck.exe
58 EnumCheck.exe: EnumCheck.cs EnumCheckAssemblyCollection.cs
59 $(CSC) $(CSCFLAGS) /out:EnumCheck.exe EnumCheck.cs EnumCheckAssemblyCollection.cs
61 IFaceDisco.exe: IFaceDisco.cs XMLUtil.cs
62 $(CSC) $(CSCFLAGS) /out:IFaceDisco.exe IFaceDisco.cs XMLUtil.cs
64 secutil.exe: secutil.cs
65 $(CSC) $(CSCFLAGS) secutil.cs
67 cert2spc.exe: cert2spc.cs ASN1.cs
68 $(CSC) $(CSCFLAGS) /out:cert2spc.exe cert2spc.cs ASN1.cs
71 (cd corcompare; make clean)
72 (cd SqlSharp; make clean)
73 rm -f *.exe *.pdb *.dbg *.dll
75 rm -f ../../mono/doc/pending-classes.in