@@ -126,11 +126,15 @@ install: $(addprefix bin/, $(results))
126
126
$(INSTALL ) -m755 -d $(PREFIX ) /lib/sdb
127
127
$(INSTALL ) -m755 bin/ICSharpCode.NRefactory.dll $(PREFIX ) /lib/sdb
128
128
$(INSTALL ) -m755 bin/ICSharpCode.NRefactory.CSharp.dll $(PREFIX ) /lib/sdb
129
+ $(INSTALL ) -m755 bin/Microsoft.CodeAnalysis.dll $(PREFIX ) /lib/sdb
130
+ $(INSTALL ) -m755 bin/Microsoft.CodeAnalysis.CSharp.dll $(PREFIX ) /lib/sdb
129
131
$(INSTALL ) -m755 bin/Mono.Cecil.dll $(PREFIX ) /lib/sdb
130
132
$(INSTALL ) -m755 bin/Mono.Cecil.Mdb.dll $(PREFIX ) /lib/sdb
131
133
$(INSTALL ) -m755 bin/Mono.Debugger.Soft.dll $(PREFIX ) /lib/sdb
132
134
$(INSTALL ) -m755 bin/Mono.Debugging.dll $(PREFIX ) /lib/sdb
133
135
$(INSTALL ) -m755 bin/Mono.Debugging.Soft.dll $(PREFIX ) /lib/sdb
136
+ $(INSTALL ) -m755 bin/System.Collections.Immutable.dll $(PREFIX ) /lib/sdb
137
+ $(INSTALL ) -m755 bin/System.Metadata.Reflection.dll $(PREFIX ) /lib/sdb
134
138
$(INSTALL ) -m755 bin/sdb.exe $(PREFIX ) /lib/sdb
135
139
$(INSTALL ) -m755 bin/sdb.exe.config $(PREFIX ) /lib/sdb
136
140
$(INSTALL ) -m755 -d $(PREFIX ) /bin
@@ -141,31 +145,46 @@ release: rel/sdb.tar.gz
141
145
uninstall :
142
146
$(RM ) $(PREFIX ) /lib/sdb/ICSharpCode.NRefactory.dll
143
147
$(RM ) $(PREFIX ) /lib/sdb/ICSharpCode.NRefactory.CSharp.dll
148
+ $(RM ) $(PREFIX ) /lib/sdb/Microsoft.CodeAnalysis.dll
149
+ $(RM ) $(PREFIX ) /lib/sdb/Microsoft.CodeAnalysis.CSharp.dll
144
150
$(RM ) $(PREFIX ) /lib/sdb/Mono.Cecil.dll
145
151
$(RM ) $(PREFIX ) /lib/sdb/Mono.Cecil.Mdb.dll
146
152
$(RM ) $(PREFIX ) /lib/sdb/Mono.Debugger.Soft.dll
147
153
$(RM ) $(PREFIX ) /lib/sdb/Mono.Debugging.dll
148
154
$(RM ) $(PREFIX ) /lib/sdb/Mono.Debugging.Soft.dll
155
+ $(RM ) $(PREFIX ) /lib/sdb/System.Collections.Immutable.dll
156
+ $(RM ) $(PREFIX ) /lib/sdb/System.Reflection.Metadata.dll
149
157
$(RM ) $(PREFIX ) /lib/sdb/sdb.exe
150
158
$(RM ) $(PREFIX ) /lib/sdb/sdb.exe.config
151
159
$(RM ) $(PREFIX ) /bin/sdb
152
160
153
161
override refs = \
162
+ Mono.Debugging.dll \
163
+ Mono.Debugging.Soft.dll
164
+
165
+ override deps = \
154
166
ICSharpCode.NRefactory.dll \
155
167
ICSharpCode.NRefactory.CSharp.dll \
168
+ Microsoft.CodeAnalysis.CSharp.dll \
169
+ Microsoft.CodeAnalysis.dll \
156
170
Mono.Cecil.dll \
157
171
Mono.Cecil.Mdb.dll \
158
172
Mono.Debugger.Soft.dll \
159
- Mono.Debugging.dll \
160
- Mono.Debugging.Soft.dll
173
+ System.Collections.Immutable.dll \
174
+ System.Reflection.Metadata.dll \
175
+ $(refs )
161
176
162
- $(addprefix bin/, $(refs ) ) :
177
+ $(addprefix bin/, $(deps ) ) :
163
178
$(CD ) dep/debugger-libs && $(NUGET ) restore debugger-libs.sln && $(XBUILD ) $(XBUILD_FLAGS ) debugger-libs.sln
164
179
$(MKDIR ) -p bin
165
180
$(CP ) dep/nrefactory/bin/Debug/ICSharpCode.NRefactory.dll \
166
181
bin/ICSharpCode.NRefactory.dll
167
182
$(CP ) dep/nrefactory/bin/Debug/ICSharpCode.NRefactory.CSharp.dll \
168
183
bin/ICSharpCode.NRefactory.CSharp.dll
184
+ $(CP ) dep/debugger-libs/packages/Microsoft.CodeAnalysis.Common.1.3.2/lib/net45/Microsoft.CodeAnalysis.dll \
185
+ bin/Microsoft.CodeAnalysis.dll
186
+ $(CP ) dep/debugger-libs/packages/Microsoft.CodeAnalysis.CSharp.1.3.2/lib/net45/Microsoft.CodeAnalysis.CSharp.dll \
187
+ bin/Microsoft.CodeAnalysis.CSharp.dll
169
188
$(CP ) dep/debugger-libs/packages/Mono.Cecil.0.10.0-beta6/lib/net40/Mono.Cecil.dll \
170
189
bin/Mono.Cecil.dll
171
190
$(CP ) dep/debugger-libs/packages/Mono.Cecil.0.10.0-beta6/lib/net40/Mono.Cecil.Mdb.dll \
@@ -176,6 +195,10 @@ $(addprefix bin/, $(refs)):
176
195
bin/Mono.Debugging.dll
177
196
$(CP ) dep/debugger-libs/Mono.Debugging.Soft/bin/Debug/Mono.Debugging.Soft.dll \
178
197
bin/Mono.Debugging.Soft.dll
198
+ $(CP ) dep/debugger-libs/packages/System.Collections.Immutable.1.3.1/lib/netstandard1.0/System.Collections.Immutable.dll \
199
+ bin/System.Collections.Immutable.dll
200
+ $(CP ) dep/debugger-libs/packages/System.Reflection.Metadata.1.4.2/lib/netstandard1.1/System.Reflection.Metadata.dll \
201
+ bin/System.Reflection.Metadata.dll
179
202
180
203
override srcs = \
181
204
src/Options.cs \
@@ -227,7 +250,7 @@ override srcs = \
227
250
src/State.cs \
228
251
src/Utilities.cs
229
252
230
- bin/sdb.exe : mono.snk $(srcs ) $(addprefix bin/, $(refs ) )
253
+ bin/sdb.exe : mono.snk $(srcs ) $(addprefix bin/, $(deps ) )
231
254
$(MCS ) $(MCS_FLAGS ) -keyfile:$< -lib:bin -out:$@ -target:exe -r:Mono.Posix $(addprefix -r:, $(refs ) ) $(srcs )
232
255
233
256
bin/sdb.exe.config : sdb.exe.config
@@ -250,7 +273,7 @@ chk/check.exe: chk/check.fs mono.snk
250
273
override artifacts = \
251
274
README.md \
252
275
LICENSE \
253
- $(addprefix bin/, $(refs ) ) \
276
+ $(addprefix bin/, $(deps ) ) \
254
277
bin/sdb.exe \
255
278
bin/sdb.exe.config
256
279
0 commit comments