Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Commit 2734380

Browse files
committed
Include new dependencies for debugger-libs in the build.
1 parent f3a199b commit 2734380

File tree

1 file changed

+28
-5
lines changed

1 file changed

+28
-5
lines changed

Makefile

+28-5
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,15 @@ install: $(addprefix bin/, $(results))
126126
$(INSTALL) -m755 -d $(PREFIX)/lib/sdb
127127
$(INSTALL) -m755 bin/ICSharpCode.NRefactory.dll $(PREFIX)/lib/sdb
128128
$(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
129131
$(INSTALL) -m755 bin/Mono.Cecil.dll $(PREFIX)/lib/sdb
130132
$(INSTALL) -m755 bin/Mono.Cecil.Mdb.dll $(PREFIX)/lib/sdb
131133
$(INSTALL) -m755 bin/Mono.Debugger.Soft.dll $(PREFIX)/lib/sdb
132134
$(INSTALL) -m755 bin/Mono.Debugging.dll $(PREFIX)/lib/sdb
133135
$(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
134138
$(INSTALL) -m755 bin/sdb.exe $(PREFIX)/lib/sdb
135139
$(INSTALL) -m755 bin/sdb.exe.config $(PREFIX)/lib/sdb
136140
$(INSTALL) -m755 -d $(PREFIX)/bin
@@ -141,31 +145,46 @@ release: rel/sdb.tar.gz
141145
uninstall:
142146
$(RM) $(PREFIX)/lib/sdb/ICSharpCode.NRefactory.dll
143147
$(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
144150
$(RM) $(PREFIX)/lib/sdb/Mono.Cecil.dll
145151
$(RM) $(PREFIX)/lib/sdb/Mono.Cecil.Mdb.dll
146152
$(RM) $(PREFIX)/lib/sdb/Mono.Debugger.Soft.dll
147153
$(RM) $(PREFIX)/lib/sdb/Mono.Debugging.dll
148154
$(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
149157
$(RM) $(PREFIX)/lib/sdb/sdb.exe
150158
$(RM) $(PREFIX)/lib/sdb/sdb.exe.config
151159
$(RM) $(PREFIX)/bin/sdb
152160

153161
override refs = \
162+
Mono.Debugging.dll \
163+
Mono.Debugging.Soft.dll
164+
165+
override deps = \
154166
ICSharpCode.NRefactory.dll \
155167
ICSharpCode.NRefactory.CSharp.dll \
168+
Microsoft.CodeAnalysis.CSharp.dll \
169+
Microsoft.CodeAnalysis.dll \
156170
Mono.Cecil.dll \
157171
Mono.Cecil.Mdb.dll \
158172
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)
161176

162-
$(addprefix bin/, $(refs)):
177+
$(addprefix bin/, $(deps)):
163178
$(CD) dep/debugger-libs && $(NUGET) restore debugger-libs.sln && $(XBUILD) $(XBUILD_FLAGS) debugger-libs.sln
164179
$(MKDIR) -p bin
165180
$(CP) dep/nrefactory/bin/Debug/ICSharpCode.NRefactory.dll \
166181
bin/ICSharpCode.NRefactory.dll
167182
$(CP) dep/nrefactory/bin/Debug/ICSharpCode.NRefactory.CSharp.dll \
168183
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
169188
$(CP) dep/debugger-libs/packages/Mono.Cecil.0.10.0-beta6/lib/net40/Mono.Cecil.dll \
170189
bin/Mono.Cecil.dll
171190
$(CP) dep/debugger-libs/packages/Mono.Cecil.0.10.0-beta6/lib/net40/Mono.Cecil.Mdb.dll \
@@ -176,6 +195,10 @@ $(addprefix bin/, $(refs)):
176195
bin/Mono.Debugging.dll
177196
$(CP) dep/debugger-libs/Mono.Debugging.Soft/bin/Debug/Mono.Debugging.Soft.dll \
178197
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
179202

180203
override srcs = \
181204
src/Options.cs \
@@ -227,7 +250,7 @@ override srcs = \
227250
src/State.cs \
228251
src/Utilities.cs
229252

230-
bin/sdb.exe: mono.snk $(srcs) $(addprefix bin/, $(refs))
253+
bin/sdb.exe: mono.snk $(srcs) $(addprefix bin/, $(deps))
231254
$(MCS) $(MCS_FLAGS) -keyfile:$< -lib:bin -out:$@ -target:exe -r:Mono.Posix $(addprefix -r:, $(refs)) $(srcs)
232255

233256
bin/sdb.exe.config: sdb.exe.config
@@ -250,7 +273,7 @@ chk/check.exe: chk/check.fs mono.snk
250273
override artifacts = \
251274
README.md \
252275
LICENSE \
253-
$(addprefix bin/, $(refs)) \
276+
$(addprefix bin/, $(deps)) \
254277
bin/sdb.exe \
255278
bin/sdb.exe.config
256279

0 commit comments

Comments
 (0)