[f-spot] fix CDExport too



commit 0ee60f028dc00a84f9df4909571faeadbd21378e
Author: Stephane Delcroix <stephane delcroix org>
Date:   Thu Sep 17 17:09:30 2009 +0200

    fix CDExport too

 extensions/Exporters/.gitignore           |    5 +-
 extensions/Exporters/CDExport/.gitignore  |    5 --
 extensions/Exporters/CDExport/Makefile.am |   58 +++++++----------------------
 3 files changed, 17 insertions(+), 51 deletions(-)
---
diff --git a/extensions/Exporters/.gitignore b/extensions/Exporters/.gitignore
index b336cc7..f914cb4 100644
--- a/extensions/Exporters/.gitignore
+++ b/extensions/Exporters/.gitignore
@@ -1,2 +1,3 @@
-/Makefile
-/Makefile.in
+Makefile
+Makefile.in
+*.dll
diff --git a/extensions/Exporters/CDExport/Makefile.am b/extensions/Exporters/CDExport/Makefile.am
index f0a97ea..4e84085 100644
--- a/extensions/Exporters/CDExport/Makefile.am
+++ b/extensions/Exporters/CDExport/Makefile.am
@@ -1,51 +1,21 @@
-include $(top_srcdir)/Makefile.include
+addin = CDExport
 
-PLUGIN_NAME = CDExport
+addin_manifest = $(addin).addin.xml
 
-PLUGIN_MANIFEST = $(PLUGIN_NAME).addin.xml
+addin_sources =			\
+	$(addin).cs
 
-PLUGIN_ASSEMBLY = $(PLUGIN_NAME).dll
+addin_resources =		\
+	$(addin_manifest)	\
+	$(addin).ui
 
-PLUGIN_SOURCES =			\
-	$(srcdir)/CDExport.cs		
+addin_references =		\
+	Mono.Posix
 
-REFS =					\
-	-r:$(top_builddir)/src/f-spot.exe	\
-	-r:$(top_builddir)/src/FSpot.Core.dll	\
-	-r:$(top_builddir)/src/FSpot.Utils.dll	\
-	$(LINK_MONO_ADDINS)			\
-	$(LINK_SEMWEB)				\
-	$(LINK_GPHOTO2)				\
-	$(LINK_GTKSHARPBEANS)			\
-	$(LINK_GIOSHARP)			\
-	-r:Mono.Posix
+addin_packages =		\	
+	gtk-sharp-2.0
 
-PKGS =					\
-	-pkg:gtk-sharp-2.0
+addin_extraflags =
+addin_extradist =
 
-RESOURCES =				\
-	-resource:$(srcdir)/$(PLUGIN_MANIFEST)	\
-	-resource:$(srcdir)/$(PLUGIN_NAME).ui
-
-all: $(PLUGIN_ASSEMBLY)
-
-mpack: $(PLUGIN_ASSEMBLY)
-	mautil p $(PLUGIN_ASSEMBLY)
-
-$(PLUGIN_ASSEMBLY): $(PLUGIN_SOURCES) $(PLUGIN_MANIFEST) $(PLUGIN_NAME).ui
-	$(CSC_LIB) -out:$@ $(CSC_DEFINES) $(PLUGIN_SOURCES) $(REFS) $(PKGS) $(ASSEMBLIES) $(RESOURCES)
-
-plugindir = $(pkglibdir)/extensions
-
-plugin_DATA =			\
-	$(PLUGIN_ASSEMBLY)
-
-EXTRA_DIST = 			\
-	$(PLUGIN_SOURCES)	\
-	$(PLUGIN_MANIFEST)	\
-	$(PLUGIN_NAME).ui
-
-CLEANFILES =			\
-	$(PLUGIN_ASSEMBLY)	\
-	$(PLUGIN_ASSEMBLY).mdb	\
-	*.mpack
+include $(top_srcdir)/Makefile.addins



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]