annotate libpurple/protocols/jabber/Makefile.am @ 27108:38c4973b5222

Add a function to remove a port mapping (UPnP or NAT-PMP) given a file descriptor. Adapt the XMPP PRPL to use this to remove port mappings when a file transfer is done. There is still no support for removing left-over mappings at exit, since I've found no good way of calling purple_upnp_remove_port_mapping (which relies on callbacks) from purple_network_uninit (since the main thread terminates after the _uninit functions have finished)...
author Marcus Lundblad <ml@update.uu.se>
date Mon, 15 Jun 2009 21:43:25 +0000
parents 3912f55a1633
children e5fdfff98aa9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
1 EXTRA_DIST = \
24389
2b62300d2c19 Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents: 23777
diff changeset
2 Makefile.mingw \
2b62300d2c19 Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents: 23777
diff changeset
3 win32/posix.uname.c \
2b62300d2c19 Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents: 23777
diff changeset
4 win32/utsname.h
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
5
16583
ce049678a67b soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <stu@nosnilmot.com>
parents: 16285
diff changeset
6 pkgdir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION)
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
7
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
8 JABBERSOURCES = auth.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
9 auth.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
10 buddy.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
11 buddy.h \
25042
1cbe5a9f6efb * adding bosh files to Makefile.am & .mingw
Tobias Markmann <tfar@soc.pidgin.im>
parents: 18686
diff changeset
12 bosh.c \
1cbe5a9f6efb * adding bosh files to Makefile.am & .mingw
Tobias Markmann <tfar@soc.pidgin.im>
parents: 18686
diff changeset
13 bosh.h \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
14 chat.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
15 chat.h \
23777
4ac5db6e39f3 Custom smileys for XMPP according to XEP 0231. Refs #5627.
Marcus Lundblad <ml@update.uu.se>
parents: 18686
diff changeset
16 data.c \
4ac5db6e39f3 Custom smileys for XMPP according to XEP 0231. Refs #5627.
Marcus Lundblad <ml@update.uu.se>
parents: 18686
diff changeset
17 data.h \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
18 disco.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
19 disco.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
20 google.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
21 google.h \
25129
b4ec5481a67a Implements file transfers using in-band bytestreams for XMPP
Marcus Lundblad <ml@update.uu.se>
parents: 18686
diff changeset
22 ibb.c \
b4ec5481a67a Implements file transfers using in-band bytestreams for XMPP
Marcus Lundblad <ml@update.uu.se>
parents: 18686
diff changeset
23 ibb.h \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
24 iq.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
25 iq.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
26 jabber.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
27 jabber.h \
24938
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
28 jingle/jingle.c \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
29 jingle/jingle.h \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
30 jingle/content.c \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
31 jingle/content.h \
24966
bee5ab815291 Added a Jingle ice-udp transmitter.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 24944
diff changeset
32 jingle/iceudp.c \
bee5ab815291 Added a Jingle ice-udp transmitter.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 24944
diff changeset
33 jingle/iceudp.h \
24938
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
34 jingle/rawudp.c \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
35 jingle/rawudp.h \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
36 jingle/rtp.c \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
37 jingle/rtp.h \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
38 jingle/session.c \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
39 jingle/session.h \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
40 jingle/transport.c \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 23787
diff changeset
41 jingle/transport.h \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
42 jutil.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
43 jutil.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
44 message.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
45 message.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
46 oob.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
47 oob.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
48 parser.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
49 parser.h \
17835
6ab1089e2101 applied patch for supporting XEP-0199: XMPP Ping
Andreas Monitzer <pidgin@monitzer.com>
parents: 16754
diff changeset
50 ping.c \
6ab1089e2101 applied patch for supporting XEP-0199: XMPP Ping
Andreas Monitzer <pidgin@monitzer.com>
parents: 16754
diff changeset
51 ping.h \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
52 presence.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
53 presence.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
54 roster.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
55 roster.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
56 si.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
57 si.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
58 xdata.c \
18686
b70664a62de8 Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents: 18684
diff changeset
59 xdata.h \
b70664a62de8 Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents: 18684
diff changeset
60 caps.c \
b70664a62de8 Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents: 18684
diff changeset
61 caps.h \
b70664a62de8 Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents: 18684
diff changeset
62 adhoccommands.c \
b70664a62de8 Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents: 18684
diff changeset
63 adhoccommands.h \
b70664a62de8 Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents: 18684
diff changeset
64 pep.c \
b70664a62de8 Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents: 18684
diff changeset
65 pep.h \
25351
5dd25c58b65e Migrate the XMPP User Avatar (XEP-0084) code to its own file
Paul Aurich <paul@darkrain42.org>
parents: 24389
diff changeset
66 useravatar.c \
5dd25c58b65e Migrate the XMPP User Avatar (XEP-0084) code to its own file
Paul Aurich <paul@darkrain42.org>
parents: 24389
diff changeset
67 useravatar.h \
18686
b70664a62de8 Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents: 18684
diff changeset
68 usermood.c \
b70664a62de8 Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents: 18684
diff changeset
69 usermood.h \
b70664a62de8 Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents: 18684
diff changeset
70 usernick.c \
b70664a62de8 Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents: 18684
diff changeset
71 usernick.h \
b70664a62de8 Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents: 18684
diff changeset
72 usertune.c \
b70664a62de8 Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents: 18684
diff changeset
73 usertune.h
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
74
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
75 AM_CFLAGS = $(st)
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
76
16240
547c76fe2e7a This does the ol' AIM/ICQ split trick on Jabber, creating an XMPP prpl. This can be used, later, to create a Bonjour plugin that reuses libjabber
Sean Egan <seanegan@gmail.com>
parents: 15885
diff changeset
77 libxmpp_la_LDFLAGS = -module -avoid-version
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
78
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
79 if STATIC_JABBER
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
80
15885
53f9f4ebea7a s/GAIM_STATIC_PRPL/PURPLE_STATIC_PRPL/ in prpl Makefiles
Stu Tomlinson <stu@nosnilmot.com>
parents: 15461
diff changeset
81 st = -DPURPLE_STATIC_PRPL
24389
2b62300d2c19 Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents: 23777
diff changeset
82 noinst_LTLIBRARIES = libjabber.la
2b62300d2c19 Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents: 23777
diff changeset
83 libjabber_la_SOURCES = $(JABBERSOURCES) libxmpp.c
2b62300d2c19 Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents: 23777
diff changeset
84 libjabber_la_CFLAGS = $(AM_CFLAGS)
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
85
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
86 else
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
87
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
88 st =
24389
2b62300d2c19 Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents: 23777
diff changeset
89 pkg_LTLIBRARIES = libjabber.la libxmpp.la
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
90 libjabber_la_SOURCES = $(JABBERSOURCES)
24389
2b62300d2c19 Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents: 23777
diff changeset
91 libjabber_la_LIBADD = $(GLIB_LIBS) $(SASL_LIBS) $(LIBXML_LIBS)
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
92
16240
547c76fe2e7a This does the ol' AIM/ICQ split trick on Jabber, creating an XMPP prpl. This can be used, later, to create a Bonjour plugin that reuses libjabber
Sean Egan <seanegan@gmail.com>
parents: 15885
diff changeset
93 libxmpp_la_SOURCES = libxmpp.c
547c76fe2e7a This does the ol' AIM/ICQ split trick on Jabber, creating an XMPP prpl. This can be used, later, to create a Bonjour plugin that reuses libjabber
Sean Egan <seanegan@gmail.com>
parents: 15885
diff changeset
94 libxmpp_la_LIBADD = libjabber.la
547c76fe2e7a This does the ol' AIM/ICQ split trick on Jabber, creating an XMPP prpl. This can be used, later, to create a Bonjour plugin that reuses libjabber
Sean Egan <seanegan@gmail.com>
parents: 15885
diff changeset
95
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
96 endif
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
97
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
98 AM_CPPFLAGS = \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
99 -I$(top_srcdir)/libpurple \
16754
441945083737 Now that version.h is a generated source file, we need to add
Stu Tomlinson <stu@nosnilmot.com>
parents: 16583
diff changeset
100 -I$(top_builddir)/libpurple \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
101 $(DEBUG_CFLAGS) \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
102 $(GLIB_CFLAGS) \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
103 $(LIBXML_CFLAGS)