view libpurple/plugins/mono/Makefile.am @ 30504:0e75ea0b5532

Merge Windows-specific changes for 2.7.0 and 2.7.1 into the main ChangeLog and include a note at the top of ChangeLog.win32 explaining that the file will no longer be updated.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sun, 23 May 2010 16:11:48 +0000
parents ce049678a67b
children
line wrap: on
line source

SUBDIRS = api loader

mono_sources = GetBuddyBack.cs \
			   MPlugin.cs

EXTRA_DIST = $(mono_sources)

monodir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION)
mono_SCRIPTS = MPlugin.dll GetBuddyBack.dll
mono_build_sources = $(addprefix $(srcdir)/, $(mono_sources))

all: $(mono_SCRIPTS)

SUFFIXES = .cs .dll
.cs.dll: api/PurpleAPI.dll $(mono_build_sources)
	mcs -t:library -lib:./api -out:$@ -r:PurpleAPI.dll $<

clean-local:
	rm -f $(mono_SCRIPTS)