PLUGIN_NAME = Grayscale PLUGIN_MANIFEST = $(PLUGIN_NAME).addin.xml PLUGIN_ASSEMBLY = $(PLUGIN_NAME).dll PLUGIN_SOURCES = \ $(srcdir)/Grayscale.cs REFS = \ -r:$(top_builddir)/src/mistelix.exe PKGS = \ -pkg:gtk-sharp-2.0 RESOURCES = \ -resource:$(srcdir)/$(PLUGIN_MANIFEST) all: $(PLUGIN_ASSEMBLY) mpack: $(PLUGIN_ASSEMBLY) mautil p $(PLUGIN_ASSEMBLY) $(PLUGIN_ASSEMBLY): $(PLUGIN_SOURCES) $(PLUGIN_MANIFEST) $(CSC) -target:library -out:$@ $(CSC_DEFINES) $(PLUGIN_SOURCES) $(REFS) $(PKGS) $(ASSEMBLIES) $(RESOURCES) -r:Mono.Posix plugindir = $(pkglibdir)/extensions plugin_DATA = \ $(PLUGIN_ASSEMBLY) EXTRA_DIST = \ $(PLUGIN_SOURCES) \ $(PLUGIN_MANIFEST) CLEANFILES = \ $(PLUGIN_ASSEMBLY) \ $(PLUGIN_ASSEMBLY).mdb \ *.mpack