changeset 172:450d62d40185

[gaim-migrate @ 182] Put the plugins on an automake system. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 25 Apr 2000 06:02:31 +0000
parents 789c792ed14b
children 7b5d56a74b71
files Makefile.am configure.in plugins/.cvsignore plugins/Makefile plugins/Makefile.am
diffstat 5 files changed, 12 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Tue Apr 25 04:29:04 2000 +0000
+++ b/Makefile.am	Tue Apr 25 06:02:31 2000 +0000
@@ -1,8 +1,6 @@
 
 EXTRA_DIST = gaim.spec gaim_applet.gnorba gaim_applet.desktop gaim_applet.soundlist \
-	buddytrans plugins/CRAZY plugins/HOWTO plugins/Makefile plugins/SIGNALS \
-	plugins/autorecon.c plugins/chkmail.c plugins/filectl.c plugins/gaiminc.c \
-	plugins/iconaway.c plugins/simple.c plugins/spellchk.c README.plugins
+	buddytrans README.plugins
 
 if GNOMEAPPLET
 
@@ -23,5 +21,5 @@
 
 endif
 
-SUBDIRS = m4 libfaim sounds pixmaps doc src
+SUBDIRS = m4 libfaim sounds plugins pixmaps doc src
 ACLOCAL_AMFLAGS = -I m4
--- a/configure.in	Tue Apr 25 04:29:04 2000 +0000
+++ b/configure.in	Tue Apr 25 06:02:31 2000 +0000
@@ -96,6 +96,7 @@
 AC_OUTPUT([Makefile
 	   src/Makefile
            sounds/Makefile
+	   plugins/Makefile
            pixmaps/Makefile
            libfaim/Makefile
            doc/Makefile
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/.cvsignore	Tue Apr 25 06:02:31 2000 +0000
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
--- a/plugins/Makefile	Tue Apr 25 04:29:04 2000 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-CC = gcc
-CFLAGS = -Wall `gnome-config --cflags gtk` -I../src -g
-LDFLAGS = -ggdb `gnome-config --libs gtk` -shared -lpthread
-
-all: simple.so gaiminc.so autorecon.so spellchk.so \
-	filectl.so iconaway.so
-
-.SUFFIXES: .c .so
-
-.c.so:
-	$(CC) $(CFLAGS) $(LDFLAGS) -Wl,-soname,$@ -o $@ $<
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/Makefile.am	Tue Apr 25 06:02:31 2000 +0000
@@ -0,0 +1,7 @@
+SUFFIXES = .c .so
+CFLAGS += $(GTK_CFLAGS) -I../src
+LDFLAGS += -ggdb $(GTK_LIBS) -shared
+.c.so:
+	$(CC) $(CFLAGS) -Wl,-soname,$@ -o $@ $< $(LDFLAGS)
+plugin_DATA = autorecon.so iconaway.so spellchk.so
+plugindir = $(libdir)/gaim