@@ -43,22 +43,19 @@ export MONO_PREFIX ?= /usr
43
43
MODE ?= Debug
44
44
45
45
ifeq ($(MODE ) , Debug)
46
- override xb_mode = net_4_0_Debug
47
46
override mono_opt = --debug
48
47
49
48
FSHARPC_FLAGS += --debug+
50
49
MCS_FLAGS += -debug
51
50
else
52
- override xb_mode = net_4_0_Release
53
-
54
51
FSHARPC_FLAGS += --optimize
55
52
MCS_FLAGS += -optimize
56
53
endif
57
54
58
55
FSHARPC_FLAGS += --nologo --warnaserror
59
56
GENDARME_FLAGS += --severity all --confidence all
60
57
MCS_FLAGS += -langversion:experimental -unsafe -warnaserror
61
- XBUILD_FLAGS += /nologo /property:Configuration=$(xb_mode ) /verbosity:quiet
58
+ XBUILD_FLAGS += /nologo /property:Configuration=$(MODE ) /verbosity:quiet
62
59
63
60
FSHARPC_TEST_FLAGS += --debug+ --nologo --warnaserror
64
61
MCS_TEST_FLAGS += -debug -langversion:experimental -unsafe -warnaserror
@@ -117,7 +114,7 @@ clean-check:
117
114
$(RM ) $(tests )
118
115
119
116
clean-deps :
120
- $(CD ) dep/debugger-libs && $(XBUILD ) $(XBUILD_FLAGS ) /target:Clean
117
+ $(CD ) dep/debugger-libs && $(XBUILD ) $(XBUILD_FLAGS ) /target:Clean debugger-libs.sln
121
118
122
119
clean-release :
123
120
$(RM ) -r rel
@@ -163,15 +160,15 @@ override refs = \
163
160
Mono.Debugging.Soft.dll
164
161
165
162
$(addprefix bin/, $(refs ) ) :
166
- $(CD ) dep/debugger-libs && $(NUGET ) restore && $(XBUILD ) $(XBUILD_FLAGS ) debugger-libs.sln
163
+ $(CD ) dep/debugger-libs && $(NUGET ) restore debugger-libs.sln && $(XBUILD ) $(XBUILD_FLAGS ) debugger-libs.sln
167
164
$(MKDIR ) -p bin
168
165
$(CP ) dep/nrefactory/bin/Debug/ICSharpCode.NRefactory.dll \
169
166
bin/ICSharpCode.NRefactory.dll
170
167
$(CP ) dep/nrefactory/bin/Debug/ICSharpCode.NRefactory.CSharp.dll \
171
168
bin/ICSharpCode.NRefactory.CSharp.dll
172
- $(CP ) dep/cecil/bin/ $( xb_mode ) /Mono.Cecil.dll \
169
+ $(CP ) dep/debugger-libs/packages/Mono.Cecil.0.10.0-beta6/lib/net40 /Mono.Cecil.dll \
173
170
bin/Mono.Cecil.dll
174
- $(CP ) dep/cecil/bin/ $( xb_mode ) /Mono.Cecil.Mdb.dll \
171
+ $(CP ) dep/debugger-libs/packages/Mono.Cecil.0.10.0-beta6/lib/net40 /Mono.Cecil.Mdb.dll \
175
172
bin/Mono.Cecil.Mdb.dll
176
173
$(CP ) dep/debugger-libs/Mono.Debugger.Soft/bin/Debug/Mono.Debugger.Soft.dll \
177
174
bin/Mono.Debugger.Soft.dll
0 commit comments