changeset 5884:d188b000e892

[gaim-migrate @ 6316] There's now a gaim-remote.so (gaim plugin) and a libgaim-remote.so (library for interfacing with an instance of gaim with gaim-remote.so loaded). The gaim-remote tool links to the library, as does the plugin. Now there are far too many things named gaim-remote. The Makefile should also work again. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 15 Jun 2003 07:19:59 +0000
parents f5b0c6073264
children 02569519d0cc
files plugins/gaim-remote/Makefile.am plugins/gaim-remote/remote.c plugins/gaim-remote/remote.h src/Makefile.am
diffstat 4 files changed, 21 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/gaim-remote/Makefile.am	Sun Jun 15 06:14:47 2003 +0000
+++ b/plugins/gaim-remote/Makefile.am	Sun Jun 15 07:19:59 2003 +0000
@@ -1,18 +1,28 @@
+grincludedir = $(includedir)/gaim-remote
+
 plugindir = $(libdir)/gaim
 
+lib_LTLIBRARIES = libgaim-remote.la
+
+grinclude_HEADERS = \
+	remote-socket.h \
+	remote.h
+
+libgaim_remote_la_SOURCES = remote-socket.c
+
+
 gaim_remote_la_LDFLAGS = -module -avoid-version
 
 if PLUGINS
 
 plugin_LTLIBRARIES = gaim-remote.la
 
-gaim_remote_la_SOURCES = \
-	remote.c \
-	remote-socket.c \
-	remote-socket.h
+gaim_remote_la_SOURCES = remote.c
+gaim_remote_la_LIBADD = -lgaim-remote
 
 endif
 
+
 INCLUDES = \
 	-I$(top_srcdir)/src \
 	-I$(top_srcdir)/plugins \
--- a/plugins/gaim-remote/remote.c	Sun Jun 15 06:14:47 2003 +0000
+++ b/plugins/gaim-remote/remote.c	Sun Jun 15 07:19:59 2003 +0000
@@ -56,7 +56,7 @@
 static GSList *uis = NULL;
 
 /* AIM URI's ARE FUN :-D */
-const char *
+static const char *
 gaim_remote_handle_uri(const char *uri)
 {
 	const char *username;
--- a/plugins/gaim-remote/remote.h	Sun Jun 15 06:14:47 2003 +0000
+++ b/plugins/gaim-remote/remote.h	Sun Jun 15 07:19:59 2003 +0000
@@ -96,7 +96,4 @@
 #define CUI_REMOTE_JOIN_CHAT    10       /* Joins a chat. */
                               /* What else?? */
 
-
-const char *gaim_remote_handle_uri(const char *uri);
-
 #endif /* _GAIM_REMOTE_H_ */
--- a/src/Makefile.am	Sun Jun 15 06:14:47 2003 +0000
+++ b/src/Makefile.am	Sun Jun 15 07:19:59 2003 +0000
@@ -90,7 +90,9 @@
 	gtkutils.h \
 	html.c \
 	idle.c \
+	internal.h \
 	log.c \
+	log.h \
 	main.c \
 	md5.c \
 	md5.h \
@@ -114,11 +116,12 @@
 	$(GTKSPELL_LIBS)
 
 gaim_remote_SOURCES = \
-	gaim-remote.c \
-	$(top_srcdir)/plugins/gaim-remote/remote-socket.c
+	gaim-remote.c
 
 gaim_remote_DEPENDENCIES = @LIBOBJS@
-gaim_remote_LDADD = @LIBOBJS@ $(GLIB_LIBS) $(INTLLIBS)
+gaim_remote_LDADD = \
+	@LIBOBJS@ $(GLIB_LIBS) $(INTLLIBS) \
+	-L$(top_builddir)/plugins/gaim-remote -lgaim-remote
 
 AM_CPPFLAGS = \
 	$(GTKSPELL_CFLAGS) \