Mercurial > pidgin.yaz
diff plugins/mono/Makefile.am @ 11882:c0e0fcd75926
[gaim-migrate @ 14173]
"make distcheck" fixes for the mono plugin loader (aka. Makefile rewrites)
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 29 Oct 2005 02:01:55 +0000 |
parents | 00f93f25d418 |
children | c9312177821a |
line wrap: on
line diff
--- 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)