# HG changeset patch # User Stu Tomlinson # Date 1130551315 0 # Node ID c0e0fcd75926a0567a74ca4d0831189567f7630e # Parent 4b84b080a5f28367cc2fafd2715cb19c4b757c91 [gaim-migrate @ 14173] "make distcheck" fixes for the mono plugin loader (aka. Makefile rewrites) committer: Tailor Script diff -r 4b84b080a5f2 -r c0e0fcd75926 plugins/mono/Makefile.am --- a/plugins/mono/Makefile.am Sat Oct 29 01:28:19 2005 +0000 +++ b/plugins/mono/Makefile.am Sat Oct 29 02:01:55 2005 +0000 @@ -1,15 +1,19 @@ SUBDIRS = api loader -TARGETS = MPlugin.dll GetBuddyBack.dll +mono_sources = GetBuddyBack.cs \ + MPlugin.cs + +EXTRA_DIST = $(mono_sources) -all: $(TARGETS) - -install-exec-am: $(TARGETS) - $(INSTALL) -m 644 $(TARGETS) $(libdir)/gaim +monodir = $(libdir)/gaim +mono_SCRIPTS = MPlugin.dll GetBuddyBack.dll +mono_build_sources = $(addprefix $(srcdir)/, $(mono_sources)) -clean-generic: - rm -rf $(TARGETS) +all: $(mono_SCRIPTS) SUFFIXES = .cs .dll -.cs.dll: api/GaimAPI.dll - mcs -t:library -lib:./api -out:$*.dll -r:GaimAPI.dll $*.cs +.cs.dll: api/GaimAPI.dll $(mono_build_sources) + mcs -t:library -lib:./api -out:$@ -r:GaimAPI.dll $(addprefix $(srcdir)/, $<) + +clean-local: + rm -f $(mono_SCRIPTS) diff -r 4b84b080a5f2 -r c0e0fcd75926 plugins/mono/api/Makefile.am --- a/plugins/mono/api/Makefile.am Sat Oct 29 01:28:19 2005 +0000 +++ b/plugins/mono/api/Makefile.am Sat Oct 29 02:01:55 2005 +0000 @@ -1,4 +1,5 @@ -MONOSOURCES = \ +monodir=$(libdir)/gaim +mono_sources = \ GaimPlugin.cs \ Debug.cs \ BuddyList.cs \ @@ -6,17 +7,16 @@ Signal.cs \ Event.cs -TARGET=GaimAPI.dll +EXTRA_DIST = $(mono_sources) -all: $(TARGET) +mono_SCRIPTS = GaimAPI.dll -$(TARGET): $(MONOSOURCES) - mcs -t:library -out:$(TARGET) $(MONOSOURCES) +mono_build_sources = $(addprefix $(srcdir)/, $(mono_sources)) -.PHONY: install clean +all: $(mono_SCRIPTS) -install: $(TARGET) - $(INSTALL) -m 644 $(TARGET) $(libdir)/gaim - -clean: - rm -rf $(TARGET) +$(mono_SCRIPTS): $(mono_build_sources) + mcs -t:library -out:$(mono_SCRIPTS) $(mono_build_sources) + +clean-local: + rm -rf $(mono_SCRIPTS) diff -r 4b84b080a5f2 -r c0e0fcd75926 plugins/mono/loader/Makefile.am --- a/plugins/mono/loader/Makefile.am Sat Oct 29 01:28:19 2005 +0000 +++ b/plugins/mono/loader/Makefile.am Sat Oct 29 02:01:55 2005 +0000 @@ -4,7 +4,9 @@ mono_la_SOURCES = \ mono.c \ + mono-glue.h \ mono-helper.c \ + mono-helper.h \ debug-glue.c \ signal-glue.c \ blist-glue.c