[f-spot] cleanup extension Makefiles
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [f-spot] cleanup extension Makefiles
- Date: Thu, 5 Nov 2009 21:09:45 +0000 (UTC)
commit e7ab324907d371eb6a2a901fb639e6e04b53594f
Author: Stephane Delcroix <stephane delcroix org>
Date: Thu Nov 5 22:04:14 2009 +0100
cleanup extension Makefiles
Makefile.addins | 25 +++---
extensions/Tools/ChangePhotoPath/Makefile.am | 64 ++++----------
extensions/Tools/DevelopInUFraw/Makefile.am | 55 +++---------
extensions/Tools/HashJob/Makefile.am | 56 +++---------
extensions/Tools/LiveWebGallery/Makefile.am | 94 ++++++-------------
extensions/Tools/MergeDb/Makefile.am | 62 ++++----------
extensions/Tools/RawPlusJpeg/Makefile.am | 57 +++---------
extensions/Tools/ScreensaverConfig/Makefile.am | 59 +++----------
extensions/Transitions/CoverTransition/Makefile.am | 57 +++---------
9 files changed, 139 insertions(+), 390 deletions(-)
---
diff --git a/Makefile.addins b/Makefile.addins
index 45d4f4f..38291fc 100644
--- a/Makefile.addins
+++ b/Makefile.addins
@@ -6,17 +6,20 @@ dep_resources = $(addprefix $(srcdir)/, $(addin_resources))
build_resources = $(foreach res, $(dep_resources), $(addprefix -resource:, $(res)),$(notdir $(res)))
build_sources = $(addprefix $(srcdir)/, $(addin_sources))
build_packages = $(addprefix -pkg:, $(addin_packages))
-build_references = \
- $(addprefix -r:, $(addin_references)) \
- -r:$(top_builddir)/src/f-spot.exe \
- -r:$(top_builddir)/src/Cms.dll \
- -r:$(top_builddir)/src/FSpot.Core.dll \
- -r:$(top_builddir)/src/FSpot.Utils.dll \
- -r:$(top_builddir)/src/FSpot.Query.dll \
- $(LINK_SEMWEB) \
- $(LINK_MONO_ADDINS) \
- $(LINK_GPHOTO2) \
- $(LINK_GIOSHARP) \
+build_references = \
+ $(addprefix -r:, $(addin_references)) \
+ -r:$(top_builddir)/src/f-spot.exe \
+ -r:$(top_builddir)/src/Cms.dll \
+ -r:$(top_builddir)/src/FSpot.Core.dll \
+ -r:$(top_builddir)/src/FSpot.Platform.dll \
+ -r:$(top_builddir)/src/FSpot.Query.dll \
+ -r:$(top_builddir)/src/FSpot.Utils.dll \
+ -r:$(top_builddir)/src/FSpot.Widgets.dll \
+ $(LINK_SEMWEB) \
+ $(LINK_MONO_ADDINS) \
+ $(LINK_GPHOTO2) \
+ $(LINK_GIOSHARP) \
+ $(LINK_UNIQUESHARP) \
$(LINK_GTKSHARPBEANS)
diff --git a/extensions/Tools/ChangePhotoPath/Makefile.am b/extensions/Tools/ChangePhotoPath/Makefile.am
index 51c6bea..c2f1599 100755
--- a/extensions/Tools/ChangePhotoPath/Makefile.am
+++ b/extensions/Tools/ChangePhotoPath/Makefile.am
@@ -1,54 +1,24 @@
-include $(top_srcdir)/Makefile.include
+addin = ChangePhotoPath
-PLUGIN_NAME = ChangePhotoPath
+addin_manifest = $(addin).addin.xml
-PLUGIN_MANIFEST = $(PLUGIN_NAME).addin.xml
+addin_sources = \
+ ChangePhotoPathController.cs \
+ ChangePhotoPathGui.cs \
+ IChangePhotoPathGui.cs
-PLUGIN_ASSEMBLY = $(PLUGIN_NAME).dll
+addin_resources = \
+ $(addin_manifest) \
+ ChangePhotoPath.glade
-PLUGIN_SOURCES = \
- $(srcdir)/ChangePhotoPathController.cs \
- $(srcdir)/ChangePhotoPathGui.cs \
- $(srcdir)/IChangePhotoPathGui.cs
+addin_references = \
+ Mono.Posix
-REFS = \
- -r:Mono.Posix \
- -r:$(top_builddir)/src/f-spot.exe \
- -r:$(top_builddir)/src/FSpot.Core.dll \
- -r:$(top_builddir)/src/FSpot.Utils.dll \
- -r:$(top_builddir)/src/FSpot.Query.dll \
- $(LINK_SEMWEB) \
- $(LINK_MONO_ADDINS) \
- $(LINK_GIOSHARP) \
- $(LINK_GPHOTO2)
+addin_packages = \
+ gtk-sharp-2.0 \
+ glade-sharp-2.0
-PKGS = \
- -pkg:gtk-sharp-2.0 \
- -pkg:glade-sharp-2.0
+addin_extradist = \
+ ChangePhotoPath.glade
-RESOURCES = \
- -resource:$(srcdir)/$(PLUGIN_MANIFEST) \
- -resource:$(srcdir)/$(PLUGIN_NAME).glade
-
-all: $(PLUGIN_ASSEMBLY)
-
-mpack: $(PLUGIN_ASSEMBLY)
- mautil p $(PLUGIN_ASSEMBLY)
-
-$(PLUGIN_ASSEMBLY): $(PLUGIN_SOURCES) $(PLUGIN_MANIFEST) $(PLUGIN_NAME).glade
- $(CSC_LIB) -out:$@ $(PLUGIN_SOURCES) $(REFS) $(PKGS) $(ASSEMBLIES) $(RESOURCES)
-
-plugindir = $(pkglibdir)/extensions
-
-plugin_DATA = \
- $(PLUGIN_ASSEMBLY)
-
-EXTRA_DIST = \
- $(PLUGIN_SOURCES) \
- $(PLUGIN_MANIFEST) \
- $(PLUGIN_NAME).glade
-
-CLEANFILES = \
- $(PLUGIN_ASSEMBLY) \
- $(PLUGIN_ASSEMBLY).mdb \
- *.mpack
+include $(top_builddir)/Makefile.addins
diff --git a/extensions/Tools/DevelopInUFraw/Makefile.am b/extensions/Tools/DevelopInUFraw/Makefile.am
index b04e742..157dabf 100644
--- a/extensions/Tools/DevelopInUFraw/Makefile.am
+++ b/extensions/Tools/DevelopInUFraw/Makefile.am
@@ -1,50 +1,19 @@
-include $(top_srcdir)/Makefile.include
+addin = DevelopInUFRaw
-PLUGIN_NAME = DevelopInUFRaw
+addin_manifest = $(addin).addin.xml
-PLUGIN_MANIFEST = $(PLUGIN_NAME).addin.xml
+addin_sources = \
+ $(addin).cs
-PLUGIN_ASSEMBLY = $(PLUGIN_NAME).dll
+addin_resources = \
+ $(addin_manifest)
-PLUGIN_SOURCES = \
- $(srcdir)/DevelopInUFRaw.cs
+addin_references = \
+ Mono.Posix
-REFS = \
- -r:Mono.Posix \
- -r:$(top_builddir)/src/f-spot.exe \
- -r:$(top_builddir)/src/FSpot.Core.dll \
- -r:$(top_builddir)/src/FSpot.Utils.dll \
- -r:$(top_builddir)/src/FSpot.Query.dll \
- $(LINK_SEMWEB) \
- $(LINK_MONO_ADDINS) \
- $(LINK_GTKSHARPBEANS) \
- $(LINK_GIOSHARP) \
- $(LINK_GPHOTO2)
+addin_packages = \
+ gtk-sharp-2.0
-PKGS = \
- -pkg:gtk-sharp-2.0
+addin_extradist =
-RESOURCES = \
- -resource:$(srcdir)/$(PLUGIN_MANIFEST)
-
-all: $(PLUGIN_ASSEMBLY)
-
-mpack: $(PLUGIN_ASSEMBLY)
- mautil p $(PLUGIN_ASSEMBLY)
-
-$(PLUGIN_ASSEMBLY): $(PLUGIN_SOURCES) $(PLUGIN_MANIFEST)
- $(CSC_LIB) -out:$@ $(PLUGIN_SOURCES) $(REFS) $(PKGS) $(ASSEMBLIES) $(RESOURCES)
-
-plugindir = $(pkglibdir)/extensions
-
-plugin_DATA = \
- $(PLUGIN_ASSEMBLY)
-
-EXTRA_DIST = \
- $(PLUGIN_SOURCES) \
- $(PLUGIN_MANIFEST)
-
-CLEANFILES = \
- $(PLUGIN_ASSEMBLY) \
- $(PLUGIN_ASSEMBLY).mdb \
- *.mpack
+include $(top_builddir)/Makefile.addins
diff --git a/extensions/Tools/HashJob/Makefile.am b/extensions/Tools/HashJob/Makefile.am
index 733f100..d32c37f 100644
--- a/extensions/Tools/HashJob/Makefile.am
+++ b/extensions/Tools/HashJob/Makefile.am
@@ -1,50 +1,20 @@
-include $(top_srcdir)/Makefile.include
+addin = HashJob
-PLUGIN_NAME = HashJob
+addin_manifest = $(addin).addin.xml
-PLUGIN_MANIFEST = $(PLUGIN_NAME).addin.xml
+addin_sources = \
+ $(addin).cs
-PLUGIN_ASSEMBLY = $(PLUGIN_NAME).dll
+addin_resources = \
+ $(addin_manifest)
-PLUGIN_SOURCES = \
- $(srcdir)/HashJob.cs
+addin_references = \
+ Mono.Posix \
+ Mono.Data.SqliteClient
-REFS = \
- -r:Mono.Posix \
- -r:$(top_builddir)/src/f-spot.exe \
- -r:$(top_builddir)/src/FSpot.Core.dll \
- -r:$(top_builddir)/src/FSpot.Utils.dll \
- -r:$(top_builddir)/src/FSpot.Query.dll \
- -r:Mono.Data.SqliteClient \
- $(LINK_SEMWEB) \
- $(LINK_MONO_ADDINS) \
- $(LINK_GIOSHARP) \
- $(LINK_GPHOTO2)
+addin_packages = \
+ gtk-sharp-2.0
-PKGS = \
- -pkg:gtk-sharp-2.0
+addin_extra_dist =
-RESOURCES = \
- -resource:$(srcdir)/$(PLUGIN_MANIFEST)
-
-all: $(PLUGIN_ASSEMBLY)
-
-mpack: $(PLUGIN_ASSEMBLY)
- mautil p $(PLUGIN_ASSEMBLY)
-
-$(PLUGIN_ASSEMBLY): $(PLUGIN_SOURCES) $(PLUGIN_MANIFEST)
- $(CSC_LIB) -out:$@ $(PLUGIN_SOURCES) $(REFS) $(PKGS) $(ASSEMBLIES) $(RESOURCES)
-
-plugindir = $(pkglibdir)/extensions
-
-plugin_DATA = \
- $(PLUGIN_ASSEMBLY)
-
-EXTRA_DIST = \
- $(PLUGIN_SOURCES) \
- $(PLUGIN_MANIFEST)
-
-CLEANFILES = \
- $(PLUGIN_ASSEMBLY) \
- $(PLUGIN_ASSEMBLY).mdb \
- *.mpack
+include $(top_builddir)/Makefile.addins
diff --git a/extensions/Tools/LiveWebGallery/Makefile.am b/extensions/Tools/LiveWebGallery/Makefile.am
index 2021554..adcc47c 100644
--- a/extensions/Tools/LiveWebGallery/Makefile.am
+++ b/extensions/Tools/LiveWebGallery/Makefile.am
@@ -1,67 +1,33 @@
-include $(top_srcdir)/Makefile.include
-
-PLUGIN_NAME = LiveWebGallery
-
-PLUGIN_MANIFEST = $(PLUGIN_NAME).addin.xml
-
-PLUGIN_ASSEMBLY = $(PLUGIN_NAME).dll
-
-PLUGIN_SOURCES = \
- $(srcdir)/LiveWebGallery.cs \
- $(srcdir)/LiveWebGalleryDialog.cs \
- $(srcdir)/SimpleWebServer.cs \
- $(srcdir)/GalleryRequestHandler.cs \
- $(srcdir)/PhotoRequestHandler.cs \
- $(srcdir)/ResourceRequestHandler.cs
-
-REFS = \
- -r:Mono.Posix \
- -r:$(top_builddir)/src/f-spot.exe \
- -r:$(top_builddir)/src/FSpot.Core.dll \
- -r:$(top_builddir)/src/FSpot.Utils.dll \
- -r:$(top_builddir)/src/FSpot.Query.dll \
- -r:$(top_builddir)/src/FSpot.Platform.dll\
- $(LINK_MONO_ADDINS) \
- $(LINK_SEMWEB) \
- $(LINK_GIOSHARP) \
- $(LINK_GPHOTO2) \
- $(LINK_GTKSHARPBEANS)
-
-PKGS = \
- -pkg:gtk-sharp-2.0 \
- -pkg:gnome-sharp-2.0
-
-RESOURCES = \
- -resource:$(srcdir)/$(PLUGIN_MANIFEST) \
- -resource:$(srcdir)/ui/$(PLUGIN_NAME).ui\
- -resource:$(srcdir)/ui/empty.png \
- -resource:$(srcdir)/ui/f-spot.css \
- -resource:$(srcdir)/ui/f-spot.js \
- -resource:$(srcdir)/ui/gallery.html
-
-all: $(PLUGIN_ASSEMBLY)
-
-mpack: $(PLUGIN_ASSEMBLY)
- mautil p $(PLUGIN_ASSEMBLY)
-
-$(PLUGIN_ASSEMBLY): $(PLUGIN_SOURCES) $(PLUGIN_MANIFEST) ui/$(PLUGIN_NAME).ui ui/empty.png ui/f-spot.css ui/f-spot.js ui/gallery.html
- $(CSC_LIB) -out:$@ $(PLUGIN_SOURCES) $(REFS) $(PKGS) $(ASSEMBLIES) $(RESOURCES)
-
-plugindir = $(pkglibdir)/extensions
+addin = LiveWebGallery
+
+addin_manifest = $(addin).addin.xml
+
+addin_sources = \
+ LiveWebGallery.cs \
+ LiveWebGalleryDialog.cs \
+ SimpleWebServer.cs \
+ GalleryRequestHandler.cs \
+ PhotoRequestHandler.cs \
+ ResourceRequestHandler.cs
+
+addin_references = \
+ Mono.Posix
+
+addin_packages = \
+ gtk-sharp-2.0 \
+ gnome-sharp-2.0
+
+addin_resources = \
+ $(addin_manifest) \
+ ui/$(addin).ui \
+ ui/empty.png \
+ ui/f-spot.css \
+ ui/f-spot.js \
+ ui/gallery.html
-plugin_DATA = \
- $(PLUGIN_ASSEMBLY)
+addin_packages = \
+ gtk-sharp-2.0
-EXTRA_DIST = \
- $(PLUGIN_SOURCES) \
- $(PLUGIN_MANIFEST) \
- ui/$(PLUGIN_NAME).ui \
- ui/f-spot.css \
- ui/f-spot.js \
- ui/empty.png \
- ui/gallery.html
+addin_extradist =
-CLEANFILES = \
- $(PLUGIN_ASSEMBLY) \
- $(PLUGIN_ASSEMBLY).mdb \
- *.mpack
+include $(top_builddir)/Makefile.addins
diff --git a/extensions/Tools/MergeDb/Makefile.am b/extensions/Tools/MergeDb/Makefile.am
index 76220de..4e13a91 100644
--- a/extensions/Tools/MergeDb/Makefile.am
+++ b/extensions/Tools/MergeDb/Makefile.am
@@ -1,54 +1,24 @@
-include $(top_srcdir)/Makefile.include
+addin = MergeDb
-PLUGIN_NAME = MergeDb
+addin_manifest = $(addin).addin.xml
-PLUGIN_MANIFEST = $(PLUGIN_NAME).addin.xml
+addin_sources = \
+ $(addin).cs \
+ MergeDbDialog.cs \
+ PickFolderDialog.cs
-PLUGIN_ASSEMBLY = $(PLUGIN_NAME).dll
+addin_resources = \
+ $(addin_manifest) \
+ $(addin).glade
-PLUGIN_SOURCES = \
- $(srcdir)/MergeDb.cs \
- $(srcdir)/MergeDbDialog.cs \
- $(srcdir)/PickFolderDialog.cs
+addin_references = \
+ Mono.Posix
-REFS = \
- -r:Mono.Posix \
- -r:$(top_builddir)/src/f-spot.exe \
- -r:$(top_builddir)/src/FSpot.Core.dll \
- -r:$(top_builddir)/src/FSpot.Utils.dll \
- -r:$(top_builddir)/src/FSpot.Query.dll \
- $(LINK_MONO_ADDINS) \
- $(LINK_SEMWEB) \
- $(LINK_GIOSHARP) \
- $(LINK_GPHOTO2)
+addin_packages = \
+ gtk-sharp-2.0 \
+ glade-sharp-2.0
-PKGS = \
- -pkg:gtk-sharp-2.0 \
- -pkg:glade-sharp-2.0
+addin_extradist =
-RESOURCES = \
- -resource:$(srcdir)/$(PLUGIN_MANIFEST) \
- -resource:$(srcdir)/$(PLUGIN_NAME).glade
+include $(top_builddir)/Makefile.addins
-all: $(PLUGIN_ASSEMBLY)
-
-mpack: $(PLUGIN_ASSEMBLY)
- mautil p $(PLUGIN_ASSEMBLY)
-
-$(PLUGIN_ASSEMBLY): $(PLUGIN_SOURCES) $(PLUGIN_MANIFEST) $(PLUGIN_NAME).glade
- $(CSC_LIB) -out:$@ $(PLUGIN_SOURCES) $(REFS) $(PKGS) $(ASSEMBLIES) $(RESOURCES)
-
-plugindir = $(pkglibdir)/extensions
-
-plugin_DATA = \
- $(PLUGIN_ASSEMBLY)
-
-EXTRA_DIST = \
- $(PLUGIN_SOURCES) \
- $(PLUGIN_MANIFEST) \
- $(PLUGIN_NAME).glade
-
-CLEANFILES = \
- $(PLUGIN_ASSEMBLY) \
- $(PLUGIN_ASSEMBLY).mdb \
- *.mpack
diff --git a/extensions/Tools/RawPlusJpeg/Makefile.am b/extensions/Tools/RawPlusJpeg/Makefile.am
index 34f2701..59ea49c 100644
--- a/extensions/Tools/RawPlusJpeg/Makefile.am
+++ b/extensions/Tools/RawPlusJpeg/Makefile.am
@@ -1,51 +1,20 @@
-include $(top_srcdir)/Makefile.include
+addin = RawPlusJpeg
-PLUGIN_NAME = RawPlusJpeg
+addin_manifest = $(addin).addin.xml
-PLUGIN_MANIFEST = $(PLUGIN_NAME).addin.xml
+addin_sources = \
+ $(addin).cs
-PLUGIN_ASSEMBLY = $(PLUGIN_NAME).dll
+addin_resources = \
+ $(addin_manifest)
-PLUGIN_SOURCES = \
- $(srcdir)/RawPlusJpeg.cs
+addin_references = \
+ Mono.Posix
-REFS = \
- -r:Mono.Posix \
- -r:$(top_builddir)/src/f-spot.exe \
- -r:$(top_builddir)/src/FSpot.Core.dll \
- -r:$(top_builddir)/src/FSpot.Utils.dll \
- -r:$(top_builddir)/src/FSpot.Query.dll \
- $(LINK_GTKSHARPBEANS) \
- $(LINK_GIOSHARP) \
- $(LINK_SEMWEB) \
- $(LINK_MONO_ADDINS) \
- $(LINK_GPHOTO2)
+addin_packages = \
+ gtk-sharp-2.0 \
+ glade-sharp-2.0
-PKGS = \
- -pkg:gtk-sharp-2.0 \
- -pkg:glade-sharp-2.0
+addin_extradist =
-RESOURCES = \
- -resource:$(srcdir)/$(PLUGIN_MANIFEST)
-
-all: $(PLUGIN_ASSEMBLY)
-
-mpack: $(PLUGIN_ASSEMBLY)
- mautil p $(PLUGIN_ASSEMBLY)
-
-$(PLUGIN_ASSEMBLY): $(PLUGIN_SOURCES) $(PLUGIN_MANIFEST)
- $(CSC_LIB) -out:$@ $(PLUGIN_SOURCES) $(REFS) $(PKGS) $(ASSEMBLIES) $(RESOURCES)
-
-plugindir = $(pkglibdir)/extensions
-
-plugin_DATA = \
- $(PLUGIN_ASSEMBLY)
-
-EXTRA_DIST = \
- $(PLUGIN_SOURCES) \
- $(PLUGIN_MANIFEST)
-
-CLEANFILES = \
- $(PLUGIN_ASSEMBLY) \
- $(PLUGIN_ASSEMBLY).mdb \
- *.mpack
+include $(top_builddir)/Makefile.addins
diff --git a/extensions/Tools/ScreensaverConfig/Makefile.am b/extensions/Tools/ScreensaverConfig/Makefile.am
index f0044cd..2a214f2 100644
--- a/extensions/Tools/ScreensaverConfig/Makefile.am
+++ b/extensions/Tools/ScreensaverConfig/Makefile.am
@@ -1,54 +1,19 @@
-include $(top_srcdir)/Makefile.include
+addin = ScreensaverConfig
-PLUGIN_NAME = ScreensaverConfig
+addin_manifest = $(addin).addin.xml
-PLUGIN_MANIFEST = $(PLUGIN_NAME).addin.xml
+addin_sources = \
+ $(addin).cs
-PLUGIN_ASSEMBLY = $(PLUGIN_NAME).dll
+addin_resources = \
+ $(addin_manifest)
-PLUGIN_SOURCES = \
- $(srcdir)/ScreensaverConfig.cs
+addin_references = \
+ Mono.Posix
-REFS = \
- -r:Mono.Posix \
- -r:$(top_builddir)/src/f-spot.exe \
- -r:$(top_builddir)/src/FSpot.Core.dll \
- -r:$(top_builddir)/src/FSpot.Widgets.dll \
- -r:$(top_builddir)/src/FSpot.Utils.dll \
- -r:$(top_builddir)/src/FSpot.Query.dll \
- $(LINK_GTKSHARPBEANS) \
- $(LINK_GIOSHARP) \
- $(LINK_SEMWEB) \
- $(LINK_MONO_ADDINS) \
- $(LINK_DBUS) \
- $(LINK_GPHOTO2)
+addin_packages = \
+ gtk-sharp-2.0
-PKGS = \
- -pkg:gtk-sharp-2.0
+addin_extradist =
-RESOURCES = \
- -resource:$(srcdir)/ScreensaverConfigDialog.ui \
- -resource:$(srcdir)/$(PLUGIN_MANIFEST)
-
-all: $(PLUGIN_ASSEMBLY)
-
-mpack: $(PLUGIN_ASSEMBLY)
- mautil p $(PLUGIN_ASSEMBLY)
-
-$(PLUGIN_ASSEMBLY): $(PLUGIN_SOURCES) $(PLUGIN_MANIFEST)
- $(CSC_LIB) -out:$@ $(PLUGIN_SOURCES) $(REFS) $(PKGS) $(ASSEMBLIES) $(RESOURCES)
-
-plugindir = $(pkglibdir)/extensions
-
-plugin_DATA = \
- $(PLUGIN_ASSEMBLY)
-
-EXTRA_DIST = \
- $(PLUGIN_SOURCES) \
- $(srcdir)/ScreensaverConfigDialog.ui \
- $(PLUGIN_MANIFEST)
-
-CLEANFILES = \
- $(PLUGIN_ASSEMBLY) \
- $(PLUGIN_ASSEMBLY).mdb \
- *.mpack
+include $(top_builddir)/Makefile.addins
diff --git a/extensions/Transitions/CoverTransition/Makefile.am b/extensions/Transitions/CoverTransition/Makefile.am
index 300526e..52cfac7 100644
--- a/extensions/Transitions/CoverTransition/Makefile.am
+++ b/extensions/Transitions/CoverTransition/Makefile.am
@@ -1,52 +1,19 @@
-include $(top_srcdir)/Makefile.include
+addin = CoverTransition
-PLUGIN_NAME = CoverTransition
+addin_manifest = $(addin).addin.xml
-PLUGIN_MANIFEST = $(PLUGIN_NAME).addin.xml
+addin_sources = \
+ $(addin).cs
-PLUGIN_ASSEMBLY = $(PLUGIN_NAME).dll
+addin_resources = \
+ $(addin_manifest)
-PLUGIN_SOURCES = \
- $(srcdir)/CoverTransition.cs
+addin_references = \
+ Mono.Cairo
+addin_packages = \
+ gtk-sharp-2.0
-REFS = \
- -r:$(top_builddir)/src/f-spot.exe \
- -r:$(top_builddir)/src/FSpot.Core.dll \
- -r:$(top_builddir)/src/FSpot.Utils.dll \
- -r:$(top_builddir)/src/FSpot.Widgets.dll\
- -r:Mono.Cairo \
- -pkg:gtk-sharp-2.0 \
- $(LINK_MONO_ADDINS) \
- $(LINK_SEMWEB) \
- $(LINK_GPHOTO2) \
- $(LINK_GIOSHARP) \
- $(LINK_DBUS) \
- $(LINK_BEAGLE)
+addin_extradist =
-PKGS =
-
-RESOURCES = \
- -resource:$(srcdir)/$(PLUGIN_MANIFEST)
-
-all: $(PLUGIN_ASSEMBLY)
-
-mpack: $(PLUGIN_ASSEMBLY)
- mautil p $(PLUGIN_ASSEMBLY)
-
-$(PLUGIN_ASSEMBLY): $(PLUGIN_SOURCES) $(PLUGIN_MANIFEST)
- $(CSC_LIB) -out:$@ $(CSC_DEFINES) $(PLUGIN_SOURCES) $(REFS) $(PKGS) $(ASSEMBLIES) $(RESOURCES)
-
-plugindir = $(pkglibdir)/extensions
-
-plugin_DATA = \
- $(PLUGIN_ASSEMBLY)
-
-EXTRA_DIST = \
- $(PLUGIN_SOURCES) \
- $(PLUGIN_MANIFEST)
-
-CLEANFILES = \
- $(PLUGIN_ASSEMBLY) \
- $(PLUGIN_ASSEMBLY).mdb \
- *.mpack
+include $(top_builddir)/Makefile.addins
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]