From: Stu T. <nos...@us...> - 2005-10-29 02:02:05
|
Update of /cvsroot/gaim/gaim/plugins/mono/api In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5133/api Modified Files: Makefile.am Log Message: "make distcheck" fixes for the mono plugin loader (aka. Makefile rewrites) Index: Makefile.am =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/mono/api/Makefile.am,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -p -r1.3 -r1.4 --- Makefile.am 23 Oct 2005 20:43:02 -0000 1.3 +++ Makefile.am 29 Oct 2005 02:01:55 -0000 1.4 @@ -1,4 +1,5 @@ -MONOSOURCES = \ +monodir=$(libdir)/gaim +mono_sources = \ GaimPlugin.cs \ Debug.cs \ BuddyList.cs \ @@ -6,17 +7,16 @@ MONOSOURCES = \ 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) |