Author: mmarin
Date: 2007-09-07 14:27:47 -0400 (Fri, 07 Sep 2007)
New Revision: 85495

Modified:
   trunk/monodevelop/Extras/CBinding/ChangeLog
   trunk/monodevelop/Extras/CBinding/Makefile.am
Log:
* Makefile.am: Check ENABLE_C to find out if assembly should be
  compiled or not.

Modified: trunk/monodevelop/Extras/CBinding/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/CBinding/ChangeLog 2007-09-07 18:26:47 UTC (rev 
85494)
+++ trunk/monodevelop/Extras/CBinding/ChangeLog 2007-09-07 18:27:47 UTC (rev 
85495)
@@ -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 <[EMAIL PROTECTED]> 
 
        * Navigation/ProjectNodeBuilderExtension.cs: Update ClassPad when the

Modified: trunk/monodevelop/Extras/CBinding/Makefile.am
===================================================================
--- trunk/monodevelop/Extras/CBinding/Makefile.am       2007-09-07 18:26:47 UTC 
(rev 85494)
+++ trunk/monodevelop/Extras/CBinding/Makefile.am       2007-09-07 18:27:47 UTC 
(rev 85495)
@@ -6,23 +6,14 @@
        -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 \
        -r:System \
@@ -141,18 +132,24 @@
        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

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to