makefile 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. CSC=csc.exe
  2. CSCRIPT=$(WINDIR)/system32/cscript.exe
  3. CSCFLAGS=/nologo /debug+ /debug:full
  4. windows: linux
  5. linux: monostyle.exe verifier.exe GenerateDelegate.exe EnumCheck.exe IFaceDisco.exe ./type-reflector/type-reflector.exe ./corcompare/CorCompare.exe ./SqlSharp/sqlsharp.exe secutil.exe Cert2Spc.exe
  6. #linux: verifier.exe GenerateDelegate.exe EnumCheck.exe IFaceDisco.exe ./corcompare/CorCompare.exe update
  7. monostyle.exe: monostyle.cs
  8. $(CSC) $(CSCFLAGS) monostyle.cs
  9. GenerateDelegate.exe: GenerateDelegate.cs
  10. $(CSC) $(CSCFLAGS) /out:$@ $<
  11. verifier.exe: verifier.cs
  12. $(CSC) $(CSCFLAGS) verifier.cs
  13. ./type-reflector/type-reflector.exe: dummy
  14. (cd type-reflector; make CSC=$(CSC))
  15. ./SqlSharp/sqlsharp.exe: dummy
  16. (cd SqlSharp; make CSC=$(CSC))
  17. ./corcompare/CorCompare.exe: dummy
  18. (cd corcompare; make CorCompare.exe)
  19. update: ../../mono/doc/pending-classes
  20. cormissing.xml: ./corcompare/CorCompare.exe ../class/lib/corlib_cmp.dll
  21. ./corcompare/CorCompare.exe -x cormissing.xml -f corlib -ms mscorlib ../class/lib/corlib_cmp.dll
  22. ../../mono/doc/pending-classes: ./corcompare/cormissing.xsl cormissing.xml
  23. $(CSCRIPT) /nologo ./corcompare/transform.js cormissing.xml ./corcompare/cormissing.xsl > ../../mono/doc/pending-classes
  24. EnumCheck: EnumCheck.exe
  25. EnumCheck.exe: EnumCheck.cs EnumCheckAssemblyCollection.cs
  26. $(CSC) $(CSCFLAGS) /out:EnumCheck.exe EnumCheck.cs EnumCheckAssemblyCollection.cs
  27. IFaceDisco.exe: IFaceDisco.cs XMLUtil.cs
  28. $(CSC) $(CSCFLAGS) /out:IFaceDisco.exe IFaceDisco.cs XMLUtil.cs
  29. secutil.exe: secutil.cs
  30. $(CSC) $(CSCFLAGS) secutil.cs
  31. Cert2Spc.exe: cert2spc.cs ASN1.cs
  32. $(CSC) $(CSCFLAGS) /out:Cert2Spc.exe cert2spc.cs ASN1.cs
  33. clean:
  34. (cd corcompare; make clean)
  35. (cd type-reflector; make clean)
  36. (cd SqlSharp; make clean)
  37. rm -f *.exe *.pdb *.dbg *.dll
  38. rm -f cormissing.xml
  39. rm -f ../../mono/doc/pending-classes.in
  40. dummy: