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.Moonlight | |
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.Moonlight')
-rw-r--r-- | main/src/addins/MonoDevelop.Moonlight/Makefile.am | 84 |
1 files changed, 83 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Moonlight/Makefile.am b/main/src/addins/MonoDevelop.Moonlight/Makefile.am index c9cc87438f..081c83253a 100644 --- a/main/src/addins/MonoDevelop.Moonlight/Makefile.am +++ b/main/src/addins/MonoDevelop.Moonlight/Makefile.am @@ -1 +1,83 @@ -include $(top_srcdir)/xbuild.include +ADDIN_BUILD = $(top_builddir)/build/AddIns/MonoDevelop.Moonlight +ASSEMBLY = $(ADDIN_BUILD)/MonoDevelop.Moonlight.dll + +DEPS = \ + $(top_builddir)/build/AddIns/MonoDevelop.AspNet/MonoDevelop.AspNet.dll \ + $(top_builddir)/build/AddIns/MonoDevelop.Deployment/MonoDevelop.Deployment.dll \ + $(top_builddir)/build/AddIns/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.dll \ + $(top_builddir)/build/AddIns/MonoDevelop.XmlEditor/MonoDevelop.XmlEditor.dll \ + $(top_builddir)/build/bin/ICSharpCode.NRefactory.dll \ + $(top_builddir)/build/bin/MonoDevelop.Core.dll \ + $(top_builddir)/build/bin/MonoDevelop.Ide.dll + +REFS = \ + $(GLIB_SHARP_LIBS) \ + $(GTK_SHARP_LIBS) \ + -r:ICSharpCode.SharpZipLib \ + -r:Mono.Posix \ + -r:System \ + -r:System.Core \ + -r:System.Drawing \ + -r:System.Xml + +FILES = \ + AssemblyInfo.cs \ + gtk-gui/generated.cs \ + gtk-gui/MonoDevelop.Moonlight.Gui.MoonlightOptionsPanelWidget.cs \ + MonoDevelop.Moonlight.Gui/MoonlightOptionsPanel.cs \ + MonoDevelop.Moonlight.Gui/MoonlightOptionsPanelWidget.cs \ + MonoDevelop.Moonlight/MoonlightBuildExtension.cs \ + MonoDevelop.Moonlight/MoonlightEditorExtension.cs \ + MonoDevelop.Moonlight/MoonlightExecutionCommand.cs \ + MonoDevelop.Moonlight/MoonlightExecutionHandler.cs \ + MonoDevelop.Moonlight/MoonlightFrameworkBackend.cs \ + MonoDevelop.Moonlight/MoonlightParser.cs \ + MonoDevelop.Moonlight/MoonlightProject.cs \ + MonoDevelop.Moonlight/MoonlightProjectBinding.cs \ + MonoDevelop.Moonlight/MoonlightProjectConfiguration.cs \ + MonoDevelop.Moonlight/XamlG.cs + +RES = \ + gtk-gui/gui.stetic \ + MonoDevelop.Moonlight.addin.xml \ + Templates/Moonlight-ApplicationProject.xpt.xml \ + Templates/Moonlight-ApplicationXaml.xft.xml \ + Templates/Moonlight-LibraryProject.xpt.xml \ + Templates/Moonlight-UserControlXaml.xft.xml \ + Templates/PreviewTemplate.html + +DATA_FILES = \ + Templates/framework_SL_2_0.xml \ + Templates/framework_SL_3_0.xml \ + Templates/framework_SL_4_0.xml \ + Templates/Silverlight.js + +DATA_FILE_BUILD = $(addprefix $(ADDIN_BUILD)/Templates/, $(notdir $(DATA_FILES))) + +all: $(ASSEMBLY) $(ASSEMBLY).mdb $(DATA_FILE_BUILD) + +$(DATA_FILE_BUILD): $(srcdir)$(subst $(ADDIN_BUILD),, $@) + mkdir -p $(ADDIN_BUILD)/Templates + cp $(srcdir)/$(subst $(ADDIN_BUILD),,$@) $@ + +$(ASSEMBLY): $(build_sources) $(build_resources) $(DEPS) + mkdir -p $(ADDIN_BUILD) + $(CSC) $(CSC_FLAGS) -debug -out:$@ -target:library $(REFS) $(build_deps) \ + $(build_resources:%=/resource:%) $(build_sources) + +$(ASSEMBLY).mdb: $(ASSEMBLY) + +check: all + +mdmoonlightlibdir = $(MD_ADDIN_DIR)/MonoDevelop.Moonlight +mdmoonlightlib_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb + +mdmoonlighttemplatelibdir = $(MD_ADDIN_DIR)/MonoDevelop.Moonlight/Templates +mdmoonlighttemplatelib_DATA = $(DATA_FILE_BUILD) + +CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(DATA_FILE_BUILD) + +EXTRA_DIST = $(FILES) $(RES) $(DATA_FILES) + +include $(top_srcdir)/Makefile.include + |