Mercurial > pidgin
annotate libpurple/protocols/jabber/Makefile.mingw @ 31722:afb58f3ee8f0
conversation: Hmm, this shouldn't be set to NULL; tends to break stuff.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Mon, 27 Jun 2011 07:01:10 +0000 |
parents | 52803883f33f |
children | eca1f14826e5 |
rev | line source |
---|---|
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1 # |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
2 # Makefile.mingw |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
3 # |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
4 # Description: Makefile for win32 (mingw) version of libjabber |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
5 # |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
6 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15376
diff
changeset
|
7 PIDGIN_TREE_TOP := ../../.. |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15376
diff
changeset
|
8 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
9 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
10 TARGET = libjabber |
16248
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
11 XMPP_TARGET = libxmpp |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
12 TYPE = PLUGIN |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
13 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
14 # Static or Plugin... |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
15 ifeq ($(TYPE),STATIC) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
16 DEFINES += -DSTATIC |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15376
diff
changeset
|
17 DLL_INSTALL_DIR = $(PURPLE_INSTALL_DIR) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
18 else |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
19 ifeq ($(TYPE),PLUGIN) |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15376
diff
changeset
|
20 DLL_INSTALL_DIR = $(PURPLE_INSTALL_PLUGINS_DIR) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
21 endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
22 endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
23 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
24 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
25 ## INCLUDE PATHS |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
26 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
27 INCLUDE_PATHS += -I. \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
28 -I./win32 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
29 -I$(GTK_TOP)/include \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
30 -I$(GTK_TOP)/include/glib-2.0 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
31 -I$(GTK_TOP)/lib/glib-2.0/include \ |
29404
1d712c4f9b6c
Win32 build updates
Daniel Atallah <daniel.atallah@gmail.com>
parents:
28757
diff
changeset
|
32 -I$(LIBXML2_TOP)/include/libxml2 \ |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15376
diff
changeset
|
33 -I$(PURPLE_TOP) \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15376
diff
changeset
|
34 -I$(PURPLE_TOP)/win32 \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15376
diff
changeset
|
35 -I$(PIDGIN_TREE_TOP) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
36 |
16314
1843c0180fbe
Allow include and lib paths to be overridden from local.ent
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16248
diff
changeset
|
37 LIB_PATHS += -L$(GTK_TOP)/lib \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
38 -L$(LIBXML2_TOP)/lib \ |
16248
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
39 -L$(PURPLE_TOP) \ |
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
40 -L. |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
41 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
42 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
43 ## SOURCES, OBJECTS |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
44 ## |
19698
d32ed28cf645
Fix mingw build of xmpp prpl
Daniel Atallah <daniel.atallah@gmail.com>
parents:
17835
diff
changeset
|
45 C_SRC = \ |
d32ed28cf645
Fix mingw build of xmpp prpl
Daniel Atallah <daniel.atallah@gmail.com>
parents:
17835
diff
changeset
|
46 adhoccommands.c \ |
d32ed28cf645
Fix mingw build of xmpp prpl
Daniel Atallah <daniel.atallah@gmail.com>
parents:
17835
diff
changeset
|
47 auth.c \ |
28757
d51d97e0d28d
Add all those cool new files to Makefile.mingw
Paul Aurich <paul@darkrain42.org>
parents:
26745
diff
changeset
|
48 auth_cyrus.c \ |
d51d97e0d28d
Add all those cool new files to Makefile.mingw
Paul Aurich <paul@darkrain42.org>
parents:
26745
diff
changeset
|
49 auth_digest_md5.c \ |
d51d97e0d28d
Add all those cool new files to Makefile.mingw
Paul Aurich <paul@darkrain42.org>
parents:
26745
diff
changeset
|
50 auth_plain.c \ |
d51d97e0d28d
Add all those cool new files to Makefile.mingw
Paul Aurich <paul@darkrain42.org>
parents:
26745
diff
changeset
|
51 auth_scram.c \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
52 buddy.c \ |
26660 | 53 bosh.c \ |
19698
d32ed28cf645
Fix mingw build of xmpp prpl
Daniel Atallah <daniel.atallah@gmail.com>
parents:
17835
diff
changeset
|
54 caps.c \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
55 chat.c \ |
23777
4ac5db6e39f3
Custom smileys for XMPP according to XEP 0231. Refs #5627.
Marcus Lundblad <ml@update.uu.se>
parents:
22567
diff
changeset
|
56 data.c \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
57 disco.c \ |
30472
ae615b3d3e47
First shot at refactoring the Google-specific XMPP code.
Marcus Lundblad <ml@update.uu.se>
parents:
29404
diff
changeset
|
58 google/gmail.c \ |
ae615b3d3e47
First shot at refactoring the Google-specific XMPP code.
Marcus Lundblad <ml@update.uu.se>
parents:
29404
diff
changeset
|
59 google/google.c \ |
ae615b3d3e47
First shot at refactoring the Google-specific XMPP code.
Marcus Lundblad <ml@update.uu.se>
parents:
29404
diff
changeset
|
60 google/google_presence.c \ |
ae615b3d3e47
First shot at refactoring the Google-specific XMPP code.
Marcus Lundblad <ml@update.uu.se>
parents:
29404
diff
changeset
|
61 google/google_roster.c \ |
ae615b3d3e47
First shot at refactoring the Google-specific XMPP code.
Marcus Lundblad <ml@update.uu.se>
parents:
29404
diff
changeset
|
62 google/google_session.c \ |
ae615b3d3e47
First shot at refactoring the Google-specific XMPP code.
Marcus Lundblad <ml@update.uu.se>
parents:
29404
diff
changeset
|
63 google/jingleinfo.c \ |
30534
52803883f33f
refactor out the relay credential fetching code to its own module
Marcus Lundblad <ml@update.uu.se>
parents:
30472
diff
changeset
|
64 google/relay.c \ |
25129
b4ec5481a67a
Implements file transfers using in-band bytestreams for XMPP
Marcus Lundblad <ml@update.uu.se>
parents:
23624
diff
changeset
|
65 ibb.c \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
66 iq.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
67 jabber.c \ |
24938
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23624
diff
changeset
|
68 jingle/jingle.c \ |
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23624
diff
changeset
|
69 jingle/content.c \ |
24966
bee5ab815291
Added a Jingle ice-udp transmitter.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
24944
diff
changeset
|
70 jingle/iceudp.c \ |
24938
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23624
diff
changeset
|
71 jingle/rawudp.c \ |
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23624
diff
changeset
|
72 jingle/rtp.c \ |
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23624
diff
changeset
|
73 jingle/session.c \ |
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
23624
diff
changeset
|
74 jingle/transport.c \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
75 jutil.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
76 message.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
77 oob.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
78 parser.c \ |
19698
d32ed28cf645
Fix mingw build of xmpp prpl
Daniel Atallah <daniel.atallah@gmail.com>
parents:
17835
diff
changeset
|
79 pep.c \ |
17835
6ab1089e2101
applied patch for supporting XEP-0199: XMPP Ping
Andreas Monitzer <pidgin@monitzer.com>
parents:
16578
diff
changeset
|
80 ping.c \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
81 presence.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
82 roster.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
83 si.c \ |
26745
e5c874075b42
Build error/warning fixes. Still not tested because libxmpp.dll won't load.
Paul Aurich <paul@darkrain42.org>
parents:
26660
diff
changeset
|
84 useravatar.c \ |
19698
d32ed28cf645
Fix mingw build of xmpp prpl
Daniel Atallah <daniel.atallah@gmail.com>
parents:
17835
diff
changeset
|
85 usermood.c \ |
d32ed28cf645
Fix mingw build of xmpp prpl
Daniel Atallah <daniel.atallah@gmail.com>
parents:
17835
diff
changeset
|
86 usernick.c \ |
d32ed28cf645
Fix mingw build of xmpp prpl
Daniel Atallah <daniel.atallah@gmail.com>
parents:
17835
diff
changeset
|
87 usertune.c \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
88 xdata.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
89 win32/posix.uname.c |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
90 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
91 OBJECTS = $(C_SRC:%.c=%.o) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
92 |
16248
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
93 XMPP_C_SRC = libxmpp.c |
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
94 XMPP_OBJECTS = $(XMPP_C_SRC:%.c=%.o) |
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
95 |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
96 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
97 ## LIBRARIES |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
98 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
99 LIBS = \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
100 -lglib-2.0 \ |
26010
db517c55c508
Make it compile in Windows with the equivalent of --disable-vv.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
24966
diff
changeset
|
101 -lgobject-2.0 \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
102 -lxml2 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
103 -lws2_32 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
104 -lintl \ |
15376
0e17470b47c2
Update win32 build for libpurple and pidgin renames. This compiles, but is far from complete.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15373
diff
changeset
|
105 -lpurple |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
106 |
20002
6583988a57ae
Sneakiness to make it easy to compile xmpp on win32 with Cyrus SASL support. This isn't ready for popular consumption yet, but if anyone wants the sasl binary that I compiled against MIT Kerberos, let me know.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19698
diff
changeset
|
107 ifeq ($(CYRUS_SASL), 1) |
22507
7505f555ab3e
Use the new cyrus-sasl package containing msvcrt dependent MIT gssapi libraries.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
22396
diff
changeset
|
108 CYRUS_SASL_TOP := $(WIN32_DEV_TOP)/cyrus-sasl-2.1.22-daa1 |
20002
6583988a57ae
Sneakiness to make it easy to compile xmpp on win32 with Cyrus SASL support. This isn't ready for popular consumption yet, but if anyone wants the sasl binary that I compiled against MIT Kerberos, let me know.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19698
diff
changeset
|
109 INCLUDE_PATHS += -I$(CYRUS_SASL_TOP)/include |
22567
9c83bea8ffd8
per daniel, this is the correct fix to cross compiling with gcc 4.x
Gary Kramlich <grim@reaperworld.com>
parents:
22507
diff
changeset
|
110 LIB_PATHS += -L$(CYRUS_SASL_TOP)/bin |
20002
6583988a57ae
Sneakiness to make it easy to compile xmpp on win32 with Cyrus SASL support. This isn't ready for popular consumption yet, but if anyone wants the sasl binary that I compiled against MIT Kerberos, let me know.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19698
diff
changeset
|
111 LIBS += -llibsasl |
21125
23d046a20aa0
Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents:
20002
diff
changeset
|
112 CYRUS_SASL_DLLS = \ |
23d046a20aa0
Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents:
20002
diff
changeset
|
113 $(CYRUS_SASL_TOP)/bin/libsasl.dll |
23d046a20aa0
Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents:
20002
diff
changeset
|
114 |
23d046a20aa0
Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents:
20002
diff
changeset
|
115 CYRUS_SASL_PLUGINS = \ |
23d046a20aa0
Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents:
20002
diff
changeset
|
116 $(CYRUS_SASL_TOP)/bin/sasl2/saslANONYMOUS.dll \ |
23d046a20aa0
Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents:
20002
diff
changeset
|
117 $(CYRUS_SASL_TOP)/bin/sasl2/saslCRAMMD5.dll \ |
23d046a20aa0
Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents:
20002
diff
changeset
|
118 $(CYRUS_SASL_TOP)/bin/sasl2/saslDIGESTMD5.dll \ |
23d046a20aa0
Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents:
20002
diff
changeset
|
119 $(CYRUS_SASL_TOP)/bin/sasl2/saslGSSAPI.dll \ |
23d046a20aa0
Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents:
20002
diff
changeset
|
120 $(CYRUS_SASL_TOP)/bin/sasl2/saslLOGIN.dll \ |
23d046a20aa0
Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents:
20002
diff
changeset
|
121 $(CYRUS_SASL_TOP)/bin/sasl2/saslPLAIN.dll |
23d046a20aa0
Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents:
20002
diff
changeset
|
122 |
20002
6583988a57ae
Sneakiness to make it easy to compile xmpp on win32 with Cyrus SASL support. This isn't ready for popular consumption yet, but if anyone wants the sasl binary that I compiled against MIT Kerberos, let me know.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19698
diff
changeset
|
123 endif |
6583988a57ae
Sneakiness to make it easy to compile xmpp on win32 with Cyrus SASL support. This isn't ready for popular consumption yet, but if anyone wants the sasl binary that I compiled against MIT Kerberos, let me know.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19698
diff
changeset
|
124 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15376
diff
changeset
|
125 include $(PIDGIN_COMMON_RULES) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
126 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
127 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
128 ## TARGET DEFINITIONS |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
129 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
130 .PHONY: all install clean |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
131 |
16248
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
132 all: $(TARGET).dll $(XMPP_TARGET).dll |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
133 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
134 install: all $(DLL_INSTALL_DIR) |
16248
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
135 cp $(XMPP_TARGET).dll $(DLL_INSTALL_DIR) |
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
136 cp $(TARGET).dll $(PURPLE_INSTALL_DIR) |
21125
23d046a20aa0
Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents:
20002
diff
changeset
|
137 ifeq ($(CYRUS_SASL), 1) |
23d046a20aa0
Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents:
20002
diff
changeset
|
138 mkdir -p $(PURPLE_INSTALL_DIR)/sasl2 |
23d046a20aa0
Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents:
20002
diff
changeset
|
139 cp $(CYRUS_SASL_DLLS) $(PURPLE_INSTALL_DIR) |
23d046a20aa0
Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents:
20002
diff
changeset
|
140 cp $(CYRUS_SASL_PLUGINS) $(PURPLE_INSTALL_DIR)/sasl2 |
23d046a20aa0
Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents:
20002
diff
changeset
|
141 endif |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
142 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15376
diff
changeset
|
143 $(OBJECTS): $(PURPLE_CONFIG_H) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
144 |
16578
bb017d30aacd
Lee Roach noticed that there is no rule to explicitly build libjabber.dll.a
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16314
diff
changeset
|
145 $(TARGET).dll $(TARGET).dll.a: $(PURPLE_DLL).a $(OBJECTS) |
16248
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
146 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -Wl,--out-implib,$(TARGET).dll.a -o $(TARGET).dll |
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
147 |
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
148 $(XMPP_TARGET).dll: $(TARGET).dll.a $(XMPP_OBJECTS) |
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
149 $(CC) -shared $(XMPP_OBJECTS) $(LIB_PATHS) $(LIBS) -ljabber $(DLL_LD_FLAGS) -o $(XMPP_TARGET).dll |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
150 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
151 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
152 ## CLEAN RULES |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
153 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
154 clean: |
16248
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
155 rm -f $(OBJECTS) $(TARGET).dll $(TARGET).dll.a |
ff2cd3f29f9b
Fix win32 build for Jabber/XMPP split.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
156 rm -f $(XMPP_OBJECTS) $(XMPP_TARGET).dll |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
157 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15376
diff
changeset
|
158 include $(PIDGIN_COMMON_TARGETS) |