diff options
author | Jonathan Pryor <jpryor@novell.com> | 2003-02-03 00:31:05 +0300 |
---|---|---|
committer | Jonathan Pryor <jpryor@novell.com> | 2003-02-03 00:31:05 +0300 |
commit | b6dfd879d9bde0611d22aca41e925d4f967be13a (patch) | |
tree | 6cd7735f06a7212d158df021221b0c5242e52906 |
svn path=/trunk/mono-tools/; revision=11132
-rw-r--r-- | makefile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 00000000..670458e3 --- /dev/null +++ b/makefile @@ -0,0 +1,55 @@ +CSC=csc.exe +CSCRIPT=$(WINDIR)/system32/cscript.exe +CSCFLAGS=/nologo /debug+ /debug:full + +windows: linux + +linux: monostyle.exe verifier.exe GenerateDelegate.exe EnumCheck.exe IFaceDisco.exe ./corcompare/CorCompare.exe ./SqlSharp/sqlsharp.exe secutil.exe cert2spc.exe +#linux: verifier.exe GenerateDelegate.exe EnumCheck.exe IFaceDisco.exe ./corcompare/CorCompare.exe update + +monostyle.exe: monostyle.cs + $(CSC) $(CSCFLAGS) monostyle.cs + +GenerateDelegate.exe: GenerateDelegate.cs + $(CSC) $(CSCFLAGS) /out:$@ $< + +verifier.exe: verifier.cs + $(CSC) $(CSCFLAGS) verifier.cs + +./SqlSharp/sqlsharp.exe: dummy + (cd SqlSharp; make CSC=$(CSC)) + +./corcompare/CorCompare.exe: dummy + (cd corcompare; make CorCompare.exe) + +update: ../../mono/doc/pending-classes + +cormissing.xml: ./corcompare/CorCompare.exe ../class/lib/corlib_cmp.dll + ./corcompare/CorCompare.exe -x cormissing.xml -f corlib -ms mscorlib ../class/lib/corlib_cmp.dll + +../../mono/doc/pending-classes: ./corcompare/cormissing.xsl cormissing.xml + $(CSCRIPT) /nologo ./corcompare/transform.js cormissing.xml ./corcompare/cormissing.xsl > ../../mono/doc/pending-classes + + +EnumCheck: EnumCheck.exe + +EnumCheck.exe: EnumCheck.cs EnumCheckAssemblyCollection.cs + $(CSC) $(CSCFLAGS) /out:EnumCheck.exe EnumCheck.cs EnumCheckAssemblyCollection.cs + +IFaceDisco.exe: IFaceDisco.cs XMLUtil.cs + $(CSC) $(CSCFLAGS) /out:IFaceDisco.exe IFaceDisco.cs XMLUtil.cs + +secutil.exe: secutil.cs + $(CSC) $(CSCFLAGS) secutil.cs + +cert2spc.exe: cert2spc.cs ASN1.cs + $(CSC) $(CSCFLAGS) /out:cert2spc.exe cert2spc.cs ASN1.cs + +clean: + (cd corcompare; make clean) + (cd SqlSharp; make clean) + rm -f *.exe *.pdb *.dbg *.dll + rm -f cormissing.xml + rm -f ../../mono/doc/pending-classes.in + +dummy: |