diff options
author | Alan McGovern <alan.mcgovern@gmail.com> | 2012-06-26 19:01:03 +0400 |
---|---|---|
committer | Alan McGovern <alan.mcgovern@gmail.com> | 2012-06-26 19:01:17 +0400 |
commit | 5a53e6c4030819ebb6cea1d575c42fb8675adcb2 (patch) | |
tree | c9992133f025553abcbcac38ad5ff73db392ee0d /main/src/addins/MonoDevelop.Debugger/Makefile.am | |
parent | 3824e16bb8e31f0351ccd0bfe3de0f986c1eb38f (diff) |
Revert "[Build] Change the build system to use xbuild instead of makefiles"""
Back it out for now. There are some reported build issues.
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger/Makefile.am')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger/Makefile.am | 113 |
1 files changed, 112 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger/Makefile.am b/main/src/addins/MonoDevelop.Debugger/Makefile.am index 0debb9b41f..780110cc89 100644 --- a/main/src/addins/MonoDevelop.Debugger/Makefile.am +++ b/main/src/addins/MonoDevelop.Debugger/Makefile.am @@ -1,10 +1,121 @@ -include $(top_srcdir)/xbuild.include +ADDIN_BUILD = $(top_builddir)/build/AddIns/MonoDevelop.Debugger +ASSEMBLY = $(ADDIN_BUILD)/MonoDevelop.Debugger.dll NUNIT_CONSOLE = `pkg-config --variable=libdir mono-nunit`/mono/2.0/nunit-console.exe FIXTURE = /fixture=$(fixture) +DEPS = \ + $(top_builddir)/build/bin/ICSharpCode.NRefactory.dll \ + $(top_builddir)/build/bin/Mono.Debugging.dll \ + $(top_builddir)/build/bin/Mono.TextEditor.dll \ + $(top_builddir)/build/bin/MonoDevelop.Core.dll \ + $(top_builddir)/build/bin/MonoDevelop.Ide.dll + +REFS = \ + $(GLIB_SHARP_LIBS) \ + $(GTK_SHARP_LIBS) \ + $(MONO_ADDINS_LIBS) \ + -r:Mono.Cairo \ + -r:Mono.Posix \ + -r:System \ + -r:System.Core \ + -r:System.Xml + +FILES = \ + AssemblyInfo.cs \ + gtk-gui/generated.cs \ + gtk-gui/MonoDevelop.Debugger.AddTracePointDialog.cs \ + gtk-gui/MonoDevelop.Debugger.AttachToProcessDialog.cs \ + gtk-gui/MonoDevelop.Debugger.BreakpointPropertiesDialog.cs \ + gtk-gui/MonoDevelop.Debugger.BusyEvaluatorDialog.cs \ + gtk-gui/MonoDevelop.Debugger.DebuggerOptionsPanelWidget.cs \ + gtk-gui/MonoDevelop.Debugger.ExceptionCaughtDialog.cs \ + gtk-gui/MonoDevelop.Debugger.ExceptionsDialog.cs \ + gtk-gui/MonoDevelop.Debugger.ExpressionEvaluatorDialog.cs \ + gtk-gui/MonoDevelop.Debugger.Viewers.ValueVisualizerDialog.cs \ + MonoDevelop.Debugger.Visualizer/IValueVisualizer.cs \ + MonoDevelop.Debugger.Visualizer/PixbufVisualizer.cs \ + MonoDevelop.Debugger.Visualizer/TextVisualizer.cs \ + MonoDevelop.Debugger.Visualizer/ValueVisualizerDialog.cs \ + MonoDevelop.Debugger/AddTracePointDialog.cs \ + MonoDevelop.Debugger/AttachToProcessDialog.cs \ + MonoDevelop.Debugger/BreakpointPad.cs \ + MonoDevelop.Debugger/BreakpointPropertiesDialog.cs \ + MonoDevelop.Debugger/BusyEvaluatorDialog.cs \ + MonoDevelop.Debugger/DebugCommands.cs \ + MonoDevelop.Debugger/DebugExecutionHandlerFactory.cs \ + MonoDevelop.Debugger/DebugExecutionModeSet.cs \ + MonoDevelop.Debugger/DebuggerEngine.cs \ + MonoDevelop.Debugger/DebuggerEngineExtensionNode.cs \ + MonoDevelop.Debugger/DebuggerOptionsPanelWidget.cs \ + MonoDevelop.Debugger/DebuggingService.cs \ + MonoDevelop.Debugger/DebugTextMarker.cs \ + MonoDevelop.Debugger/DisassemblyView.cs \ + MonoDevelop.Debugger/ExceptionCaughtDialog.cs \ + MonoDevelop.Debugger/ExceptionsDialog.cs \ + MonoDevelop.Debugger/ExpressionEvaluatorDialog.cs \ + MonoDevelop.Debugger/ExpressionEvaluatorExtensionNode.cs \ + MonoDevelop.Debugger/Extensions.cs \ + MonoDevelop.Debugger/IDebuggerEngine.cs \ + MonoDevelop.Debugger/ImmediatePad.cs \ + MonoDevelop.Debugger/Initializer.cs \ + MonoDevelop.Debugger/LocalsPad.cs \ + MonoDevelop.Debugger/ObjectValuePad.cs \ + MonoDevelop.Debugger/ObjectValueTreeView.cs \ + MonoDevelop.Debugger/PinnedWatch.cs \ + MonoDevelop.Debugger/PinnedWatchStore.cs \ + MonoDevelop.Debugger/StackTracePad.cs \ + MonoDevelop.Debugger/ThreadsPad.cs \ + MonoDevelop.Debugger/WatchPad.cs + +RES = \ + gtk-gui/gui.stetic \ + icons/debug-overlay-16.png \ + icons/debug-overlay-22.png \ + icons/debug-overlay-24.png \ + icons/debug-overlay-32.png \ + icons/step-into-16.png \ + icons/step-into-22.png \ + icons/step-into-24.png \ + icons/step-out-16.png \ + icons/step-out-22.png \ + icons/step-out-24.png \ + icons/step-over-16.png \ + icons/step-over-22.png \ + icons/step-over-24.png \ + icons/view-debug-breakpoints-16.png \ + icons/view-debug-call-stack-16.png \ + icons/view-debug-locals-16.png \ + icons/view-debug-threads-16.png \ + icons/view-debug-watch-16.png \ + MonoDevelop.Debugger.addin.xml + +DATA_FILES = + +DATA_FILE_BUILD = $(addprefix $(ADDIN_BUILD)/, $(notdir $(DATA_FILES))) + +all: $(ASSEMBLY) $(ASSEMBLY).mdb $(DATA_FILE_BUILD) + test: all if test -n "$(fixture)"; then \ fp="-fixture=$(fixture)"; \ fi; \ $(MD_LAUNCH_SETUP) MONO_PATH=../AddIns/MonoDevelop.Debugger mono --debug $(NUNIT_CONSOLE) -noshadow $(top_builddir)/build/bin/MonoDevelop.Debugger.Tests.dll $$fp + +$(DATA_FILE_BUILD): $(srcdir)$(subst $(ADDIN_BUILD),, $@) + mkdir -p $(ADDIN_BUILD) + cp $(srcdir)/templates$(subst $(ADDIN_BUILD),,$@) $@ + +$(ASSEMBLY): $(build_sources) $(build_resources) $(DEPS) + mkdir -p $(ADDIN_BUILD) + $(CSC) $(CSC_FLAGS) $(REFS) $(build_deps) $(build_resources:%=/resource:%) $(build_sources) -out:$@ -target:library + +$(ASSEMBLY).mdb: $(ASSEMBLY) + +assemblydir = $(MD_ADDIN_DIR)/MonoDevelop.Debugger +assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb $(DATA_FILES) + +CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(DATA_FILE_BUILD) +EXTRA_DIST = $(FILES) $(RES) $(DATA_FILES) + +include $(top_srcdir)/Makefile.include |