annotate libpurple/protocols/jabber/Makefile.am @ 29078:8ada06fb65ed

jabber: Factor the SASL auth methods into their own files. This works with and without Cyrus SASL, though there's room for cleanup and de-duplication (some code is now duplicated between auth.c and auth_cyrus.c).
author Paul Aurich <paul@darkrain42.org>
date Sat, 07 Nov 2009 06:10:17 +0000
parents e5fdfff98aa9
children 338eeaf371e2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
1 EXTRA_DIST = \
24332
2b62300d2c19 Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents: 23445
diff changeset
2 Makefile.mingw \
2b62300d2c19 Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents: 23445
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: 23445
diff changeset
4 win32/utsname.h
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
5
16591
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)
15374
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 \
29078
8ada06fb65ed jabber: Factor the SASL auth methods into their own files.
Paul Aurich <paul@darkrain42.org>
parents: 27674
diff changeset
10 auth_digest_md5.c \
8ada06fb65ed jabber: Factor the SASL auth methods into their own files.
Paul Aurich <paul@darkrain42.org>
parents: 27674
diff changeset
11 auth_plain.c \
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
12 buddy.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
13 buddy.h \
25600
1cbe5a9f6efb * adding bosh files to Makefile.am & .mingw
Tobias Markmann <tfar@soc.pidgin.im>
parents: 18686
diff changeset
14 bosh.c \
1cbe5a9f6efb * adding bosh files to Makefile.am & .mingw
Tobias Markmann <tfar@soc.pidgin.im>
parents: 18686
diff changeset
15 bosh.h \
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
16 chat.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
17 chat.h \
23445
4ac5db6e39f3 Custom smileys for XMPP according to XEP 0231. Refs #5627.
Marcus Lundblad <ml@update.uu.se>
parents: 18686
diff changeset
18 data.c \
4ac5db6e39f3 Custom smileys for XMPP according to XEP 0231. Refs #5627.
Marcus Lundblad <ml@update.uu.se>
parents: 18686
diff changeset
19 data.h \
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
20 disco.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
21 disco.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
22 google.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
23 google.h \
23999
b4ec5481a67a Implements file transfers using in-band bytestreams for XMPP
Marcus Lundblad <ml@update.uu.se>
parents: 18686
diff changeset
24 ibb.c \
b4ec5481a67a Implements file transfers using in-band bytestreams for XMPP
Marcus Lundblad <ml@update.uu.se>
parents: 18686
diff changeset
25 ibb.h \
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
26 iq.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
27 iq.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
28 jabber.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
29 jabber.h \
26014
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 25637
diff changeset
30 jingle/jingle.c \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 25637
diff changeset
31 jingle/jingle.h \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 25637
diff changeset
32 jingle/content.c \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 25637
diff changeset
33 jingle/content.h \
26042
bee5ab815291 Added a Jingle ice-udp transmitter.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 26020
diff changeset
34 jingle/iceudp.c \
bee5ab815291 Added a Jingle ice-udp transmitter.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 26020
diff changeset
35 jingle/iceudp.h \
26014
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 25637
diff changeset
36 jingle/rawudp.c \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 25637
diff changeset
37 jingle/rawudp.h \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 25637
diff changeset
38 jingle/rtp.c \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 25637
diff changeset
39 jingle/rtp.h \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 25637
diff changeset
40 jingle/session.c \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 25637
diff changeset
41 jingle/session.h \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 25637
diff changeset
42 jingle/transport.c \
bd598b606ca4 Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents: 25637
diff changeset
43 jingle/transport.h \
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
44 jutil.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
45 jutil.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
46 message.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
47 message.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
48 oob.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
49 oob.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
50 parser.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
51 parser.h \
17562
6ab1089e2101 applied patch for supporting XEP-0199: XMPP Ping
Andreas Monitzer <pidgin@monitzer.com>
parents: 16765
diff changeset
52 ping.c \
6ab1089e2101 applied patch for supporting XEP-0199: XMPP Ping
Andreas Monitzer <pidgin@monitzer.com>
parents: 16765
diff changeset
53 ping.h \
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
54 presence.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
55 presence.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
56 roster.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
57 roster.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
58 si.c \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
59 si.h \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
60 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
61 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
62 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
63 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
64 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
65 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
66 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
67 pep.h \
25815
5dd25c58b65e Migrate the XMPP User Avatar (XEP-0084) code to its own file
Paul Aurich <paul@darkrain42.org>
parents: 24332
diff changeset
68 useravatar.c \
5dd25c58b65e Migrate the XMPP User Avatar (XEP-0084) code to its own file
Paul Aurich <paul@darkrain42.org>
parents: 24332
diff changeset
69 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
70 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
71 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
72 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
73 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
74 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
75 usertune.h
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
76
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
77 AM_CFLAGS = $(st)
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
78
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: 15886
diff changeset
79 libxmpp_la_LDFLAGS = -module -avoid-version
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
80
29078
8ada06fb65ed jabber: Factor the SASL auth methods into their own files.
Paul Aurich <paul@darkrain42.org>
parents: 27674
diff changeset
81 if USE_CYRUS_SASL
8ada06fb65ed jabber: Factor the SASL auth methods into their own files.
Paul Aurich <paul@darkrain42.org>
parents: 27674
diff changeset
82 JABBERSOURCES += auth_cyrus.c
8ada06fb65ed jabber: Factor the SASL auth methods into their own files.
Paul Aurich <paul@darkrain42.org>
parents: 27674
diff changeset
83 endif
8ada06fb65ed jabber: Factor the SASL auth methods into their own files.
Paul Aurich <paul@darkrain42.org>
parents: 27674
diff changeset
84
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
85 if STATIC_JABBER
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
86
15886
53f9f4ebea7a s/GAIM_STATIC_PRPL/PURPLE_STATIC_PRPL/ in prpl Makefiles
Stu Tomlinson <stu@nosnilmot.com>
parents: 15462
diff changeset
87 st = -DPURPLE_STATIC_PRPL
24332
2b62300d2c19 Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents: 23445
diff changeset
88 noinst_LTLIBRARIES = libjabber.la
2b62300d2c19 Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents: 23445
diff changeset
89 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: 23445
diff changeset
90 libjabber_la_CFLAGS = $(AM_CFLAGS)
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
91
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
92 else
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
93
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
94 st =
24332
2b62300d2c19 Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents: 23445
diff changeset
95 pkg_LTLIBRARIES = libjabber.la libxmpp.la
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
96 libjabber_la_SOURCES = $(JABBERSOURCES)
27674
e5fdfff98aa9 When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <paul@darkrain42.org>
parents: 26817
diff changeset
97 libjabber_la_LIBADD = $(GLIB_LIBS) $(SASL_LIBS) $(LIBXML_LIBS) $(IDN_LIBS)
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
98
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: 15886
diff changeset
99 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: 15886
diff changeset
100 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: 15886
diff changeset
101
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
102 endif
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
103
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
104 AM_CPPFLAGS = \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
105 -I$(top_srcdir)/libpurple \
16765
441945083737 Now that version.h is a generated source file, we need to add
Stu Tomlinson <stu@nosnilmot.com>
parents: 16591
diff changeset
106 -I$(top_builddir)/libpurple \
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
107 $(DEBUG_CFLAGS) \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
108 $(GLIB_CFLAGS) \
27674
e5fdfff98aa9 When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <paul@darkrain42.org>
parents: 26817
diff changeset
109 $(IDN_CFLAGS) \
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
110 $(LIBXML_CFLAGS)