diff options
author | Marcos David Marín Amador <mmarin@mono-cvs.ximian.com> | 2007-09-07 22:27:47 +0400 |
---|---|---|
committer | Marcos David Marín Amador <mmarin@mono-cvs.ximian.com> | 2007-09-07 22:27:47 +0400 |
commit | afb3fc65a858c16030986abeadf5cc5c5a3efa36 (patch) | |
tree | bc60916f2c688d1e8e624adbeb9c1b1a09fbdc93 | |
parent | 97fcefd18eb78c3d347960ed56b4109b6a919d69 (diff) |
* Makefile.am: Check ENABLE_C to find out if assembly should be
compiled or not.
svn path=/trunk/monodevelop/; revision=85495
-rw-r--r-- | Extras/CBinding/ChangeLog | 5 | ||||
-rw-r--r-- | Extras/CBinding/Makefile.am | 17 |
2 files changed, 12 insertions, 10 deletions
diff --git a/Extras/CBinding/ChangeLog b/Extras/CBinding/ChangeLog index 39a1e5ba0e..e334d984d0 100644 --- a/Extras/CBinding/ChangeLog +++ b/Extras/CBinding/ChangeLog @@ -1,3 +1,8 @@ +2007-09-07 <> + + * Makefile.am: Check ENABLE_C to find out if assembly should be compiled or + not. + 2007-09-05 Marcos David Marín Amador <MarcosMarin@gmail.com> * Navigation/ProjectNodeBuilderExtension.cs: Update ClassPad when the diff --git a/Extras/CBinding/Makefile.am b/Extras/CBinding/Makefile.am index 0e5377c999..a368a1b6e0 100644 --- a/Extras/CBinding/Makefile.am +++ b/Extras/CBinding/Makefile.am @@ -6,22 +6,13 @@ REFS = \ -pkg:glib-sharp-2.0 \ -pkg:gtk-sharp-2.0 \ -r:../../build/AddIns/MonoDevelop.Deployment.dll \ - -r:../../build/AddIns/MonoDevelop.Deployment.dll \ - -r:../../build/AddIns/MonoDevelop.Deployment.Linux.dll \ -r:../../build/AddIns/MonoDevelop.Deployment.Linux.dll \ -r:../../build/AddIns/MonoDevelop.SourceEditor.dll \ - -r:../../build/AddIns/MonoDevelop.SourceEditor.dll \ -r:../../build/bin/MonoDevelop.Components.dll \ - -r:../../build/bin/MonoDevelop.Components.dll \ - -r:../../build/bin/MonoDevelop.Core.dll \ -r:../../build/bin/MonoDevelop.Core.dll \ -r:../../build/bin/MonoDevelop.Core.Gui.dll \ - -r:../../build/bin/MonoDevelop.Core.Gui.dll \ - -r:../../build/bin/MonoDevelop.Ide.dll \ -r:../../build/bin/MonoDevelop.Ide.dll \ -r:../../build/bin/MonoDevelop.Projects.dll \ - -r:../../build/bin/MonoDevelop.Projects.dll \ - -r:../../build/bin/MonoDevelop.Projects.Gui.dll \ -r:../../build/bin/MonoDevelop.Projects.Gui.dll \ -r:../../contrib/Mono.Addins.dll \ -r:Mono.Posix \ @@ -141,18 +132,24 @@ RES = \ templates/StaticLibraryCppProject.xpt.xml \ templates/StaticLibraryCProject.xpt.xml +if ENABLE_C all: $(ASSEMBLY) +else +all: +endif $(ASSEMBLY): $(build_sources) $(build_resources) mkdir -p $(ADDIN_BUILD) $(CSC) $(CSC_FLAGS) -debug -out:$@ -target:library $(REFS) \ $(build_resources:%=/resource:%) $(build_sources) +if ENABLE_C cbindinglibdir = $(MD_ADDIN_DIR)/BackendBindings cbindinglib_DATA = $(ASSEMBLY) +endif CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb EXTRA_DIST = $(FILES) $(RES) -include $(top_srcdir)/Makefile.include
\ No newline at end of file +include $(top_srcdir)/Makefile.include |