-CSC=mcs
+RUNTIME=mono
+CSC= $(RUNTIME) ../mcs/mcs.exe
CSCRIPT=$(WINDIR)/system32/cscript.exe
CSCFLAGS=/nologo /debug+ /debug:full
INSTALL = /usr/bin/install
-MONO_TOOLS = monostyle.exe GenerateDelegate.exe EnumCheck.exe IFaceDisco.exe ./SqlSharp/sqlsharp.exe secutil.exe cert2spc.exe
+MONO_TOOLS = monostyle.exe GenerateDelegate.exe EnumCheck.exe IFaceDisco.exe ./SqlSharp/sqlsharp.exe ./security/secutil.exe
DIRS =
#MONO_TOOLS = monostyle.exe verifier.exe GenerateDelegate.exe EnumCheck.exe IFaceDisco.exe ./type-reflector/type-reflector.exe ./corcompare/CorCompare.exe ./SqlSharp/SqlSharpCli.exe
all: tools
- for i in $(DIRS) ; do \
- $(MAKE) -C $$i -f makefile.gnu $@ || exit 1; \
- done
-linx: $(MONO_TOOLS)
+linux: $(MONO_TOOLS)
tools: $(MONO_TOOLS)
for i in $(MONO_TOOLS) ; do \
($(INSTALL) -m 755 $$i $(prefix)/bin/) || exit 1; \
done
- for i in $(DIRS) ; do \
- $(MAKE) -C $$i -f makefile.gnu $@ || exit 1; \
- done
monostyle.exe: monostyle.cs
$(CSC) $(CSCFLAGS) monostyle.cs
$(CSC) $(CSCFLAGS) verifier.cs
./SqlSharp/sqlsharp.exe: dummy
- (cd SqlSharp; make CSC=$(CSC))
+ (cd SqlSharp; make)
./corcompare/CorCompare.exe: dummy
(cd corcompare; make CorCompare.exe)
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
+./security/secutil.exe: dummy
+ (cd security; make)
clean:
(cd corcompare; make clean)
(cd SqlSharp; make clean)
+ (cd security; make clean)
rm -f *.exe *.pdb *.dbg *.dll
rm -f cormissing.xml
rm -f ../../mono/doc/pending-classes.in
- for i in $(DIRS) ; do \
- $(MAKE) -C $$i -f makefile.gnu $@ || exit 1; \
- done
dummy: