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.Autotools | |
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.Autotools')
-rw-r--r-- | main/src/addins/MonoDevelop.Autotools/Makefile.am | 100 |
1 files changed, 99 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Autotools/Makefile.am b/main/src/addins/MonoDevelop.Autotools/Makefile.am index c9cc87438f..4be733a990 100644 --- a/main/src/addins/MonoDevelop.Autotools/Makefile.am +++ b/main/src/addins/MonoDevelop.Autotools/Makefile.am @@ -1 +1,99 @@ -include $(top_srcdir)/xbuild.include + +ADDIN_BUILD = $(top_builddir)/build/AddIns/MonoDevelop.Autotools +ASSEMBLY = $(ADDIN_BUILD)/MonoDevelop.Autotools.dll + +DEPS = \ + $(top_builddir)/build/AddIns/MonoDevelop.Deployment/MonoDevelop.Deployment.dll \ + $(top_builddir)/build/AddIns/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.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.Posix \ + -r:System + +FILES = \ + AssemblyInfo.cs \ + AutotoolsContext.cs \ + Commands.cs \ + ConfigSection.cs \ + CustomMakefile.cs \ + FileNodeBuilderExtension.cs \ + GenerateMakefilesDialog.cs \ + gtk-gui/generated.cs \ + gtk-gui/MonoDevelop.Autotools.GenerateMakefilesDialog.cs \ + gtk-gui/MonoDevelop.Autotools.MakefileIntegrationFeatureWidget.cs \ + gtk-gui/MonoDevelop.Autotools.MakefileOptionPanelWidget.cs \ + gtk-gui/MonoDevelop.Autotools.MakefileSwitchEditor.cs \ + gtk-gui/MonoDevelop.Autotools.MakefileSwitchEditorWidget.cs \ + gtk-gui/MonoDevelop.Autotools.TarballBuilderEditorWidget.cs \ + Handler.cs \ + IMakefileHandler.cs \ + ImportMakefileDialog.cs \ + ISimpleAutotoolsSetup.cs \ + Makefile.cs \ + MakefileData.cs \ + MakefileGeneratorTool.cs \ + MakefileIntegrationFeature.cs \ + MakefileIntegrationFeatureWidget.cs \ + MakefileOptionPanel.cs \ + MakefileOptionPanelWidget.cs \ + MakefileProject.cs \ + MakefileProjectServiceExtension.cs \ + MakefileSwitchEditor.cs \ + MakefileSwitchEditorWidget.cs \ + MakefileVar.cs \ + PropertyProvider.cs \ + Set.cs \ + SimpleProjectMakefileHandler.cs \ + SolutionDeployer.cs \ + SolutionMakefileHandler.cs \ + Switch.cs \ + TarballBuilderEditorWidget.cs \ + TemplateEngine.cs + +RES = \ + gtk-gui/gui.stetic \ + MonoDevelop.Autotools.addin.xml + +DATA_FILES = \ + templates/autogen.sh.template \ + templates/configure.ac.template \ + templates/configure.template \ + templates/exe.wrapper.in.template \ + templates/expansions.m4 \ + templates/make-dist.targets \ + templates/Makefile.am.project.template \ + templates/Makefile.include \ + templates/Makefile.noauto.project.template \ + templates/Makefile.solution.template \ + templates/package.pc.template \ + templates/rules.make + +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) $(REFS) $(build_deps) $(build_resources:%=/resource:%) $(build_sources) -out:$@ -target:library + +$(ASSEMBLY).mdb: $(ASSEMBLY) + +assemblydir = $(MD_ADDIN_DIR)/MonoDevelop.Autotools +assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb $(DATA_FILES) + +templatedir = $(assemblydir)/templates +template_DATA = $(DATA_FILES) + +CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(DATA_FILE_BUILD) +EXTRA_DIST = $(FILES) $(RES) $(DATA_FILES) + +include $(top_srcdir)/Makefile.include |