Mercurial > pidgin
annotate libgaim/plugins/Makefile.am @ 15113:4a8c368df4ea
[gaim-migrate @ 17899]
Some touchups:
* If one of the parallel connection attempts fails immediately (i.e.
does not time out) then don't cancel the other one.
* Make sure we don't continue on to step 2 of the peer connection
process after we kick off the parallel gaim_proxy_connects(). It
looks like this would happen most of the time, because the
connect_timeout_timer would be added for the verified ip, so it
would NOT be added for the client ip, and so we wouldn't hit the
"return" call because it happens to be in the same block as the
second gaim_timeout_add() call.
* Add the connection timeout timer even if the gaim_proxy_connect() to
the verified ip returns NULL for some crazy reason.
I didn't actually test any of this. I should probably do that when
I get home.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Wed, 06 Dec 2006 01:29:59 +0000 |
| parents | 69590c55c748 |
| children | 630b794db0c8 |
| rev | line source |
|---|---|
| 14192 | 1 DIST_SUBDIRS = mono perl ssl tcl |
| 2 | |
| 3 if USE_PERL | |
|
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14235
diff
changeset
|
4 PERL_DIR = perl |
| 14192 | 5 endif |
| 6 | |
| 7 if USE_TCL | |
| 8 TCL_DIR = tcl | |
| 9 endif | |
| 10 | |
| 11 if ENABLE_DBUS | |
| 12 DBUS_LTLIB = dbus-example.la | |
| 13 endif | |
| 14 | |
| 15 if USE_MONO | |
| 16 MONO_DIR = mono | |
| 17 endif | |
| 18 | |
| 19 SUBDIRS = \ | |
| 20 $(MONO_DIR) \ | |
| 21 $(PERL_DIR) \ | |
| 22 ssl \ | |
| 23 $(TCL_DIR) | |
| 24 | |
| 25 plugindir = $(libdir)/gaim | |
| 26 | |
| 14674 | 27 idle_la_LDFLAGS = -module -avoid-version |
| 28 log_reader_la_LDFLAGS = -module -avoid-version | |
| 29 psychic_la_LDFLAGS = -module -avoid-version | |
| 30 statenotify_la_LDFLAGS = -module -avoid-version | |
| 14192 | 31 |
| 32 # this can't be in a conditional otherwise automake 1.4 yells | |
| 14674 | 33 dbus_example_la_LDFLAGS = -module -avoid-version |
| 14192 | 34 |
| 35 if PLUGINS | |
| 36 | |
| 37 plugin_LTLIBRARIES = \ | |
| 38 idle.la \ | |
|
14235
a54ff7cafc2a
[gaim-migrate @ 16917]
Richard Laager <rlaager@wiktel.com>
parents:
14192
diff
changeset
|
39 log_reader.la \ |
| 14192 | 40 psychic.la \ |
| 41 statenotify.la \ | |
| 42 $(DBUS_LTLIB) | |
| 43 | |
| 44 | |
| 45 idle_la_SOURCES = idle.c | |
|
14235
a54ff7cafc2a
[gaim-migrate @ 16917]
Richard Laager <rlaager@wiktel.com>
parents:
14192
diff
changeset
|
46 log_reader_la_SOURCES = log_reader.c |
| 14192 | 47 psychic_la_SOURCES = psychic.c |
| 48 statenotify_la_SOURCES = statenotify.c | |
| 49 | |
| 14674 | 50 idle_la_LIBADD = $(GLIB_LIBS) |
| 51 log_reader_la_LIBADD = $(GLIB_LIBS) | |
| 52 psychic_la_LIBADD = $(GLIB_LIBS) | |
| 53 statenotify_la_LIBADD = $(GLIB_LIBS) | |
| 54 | |
| 14192 | 55 if ENABLE_DBUS |
| 56 | |
| 57 CLEANFILES = dbus-example-bindings.c | |
| 58 dbus_example_la_SOURCES = dbus-example.c | |
| 59 | |
| 14674 | 60 dbus_example_la_LIBADD = $(GLIB_LIBS) $(DBUS_LIBS) |
| 61 | |
| 14192 | 62 .PHONY: always |
| 63 | |
| 64 $(top_builddir)/libgaim/dbus-types.h: always | |
| 65 cd $(@D) && $(MAKE) $(AM_MAKEFLAGS) $(@F) | |
| 66 | |
| 67 dbus-example-bindings.c: $(top_srcdir)/libgaim/dbus-analyze-functions.py $(dbus_example_la_SOURCES) | |
| 68 cat $(srcdir)/$(dbus_example_la_SOURCES) | \ | |
| 69 $(PYTHON) $(top_srcdir)/libgaim/dbus-analyze-functions.py --export-only > $@ | |
| 70 | |
| 71 $(dbus_example_la_OBJECTS) dbus-example.so: dbus-example-bindings.c $(top_builddir)/libgaim/dbus-types.h | |
| 72 | |
| 73 | |
| 74 endif # ENABLE_DBUS | |
| 75 | |
| 76 endif # PLUGINS | |
| 77 | |
| 78 EXTRA_DIST = \ | |
| 79 Makefile.mingw \ | |
| 80 dbus-buddyicons-example.py \ | |
| 81 filectl.c \ | |
| 82 fortuneprofile.pl \ | |
| 83 gaim.pl \ | |
| 84 ipc-test-client.c \ | |
| 85 ipc-test-server.c \ | |
| 86 pluginpref_example.c \ | |
| 87 signals-test.c \ | |
| 88 simple.c | |
| 89 | |
| 90 AM_CPPFLAGS = \ | |
| 91 -DDATADIR=\"$(datadir)\" \ | |
| 92 -DVERSION=\"$(VERSION)\" \ | |
| 93 -I$(top_builddir)/libgaim \ | |
| 94 -I$(top_srcdir)/libgaim \ | |
| 95 $(DEBUG_CFLAGS) \ | |
| 96 $(GLIB_CFLAGS) \ | |
| 97 $(PLUGIN_CFLAGS) \ | |
| 98 $(DBUS_CFLAGS) | |
| 99 | |
| 100 # | |
| 101 # This part allows people to build their own plugins in here. | |
| 102 # Yes, it's a mess. | |
| 103 # | |
| 104 SUFFIXES = .c .so | |
| 105 .c.so: | |
| 106 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_srcdir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) | |
| 107 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) | |
| 108 @rm -f tmp$@.lo tmp$@.o libtmp$@.la | |
| 109 @cp .libs/libtmp$@.so* $@ | |
| 110 @rm -f .libs/libtmp$@.* |
