Mercurial > pidgin
annotate libpurple/Makefile.mingw @ 32797:aacfb71133cc
Fix a possible MSN remote crash
Incoming messages with certain characters or character encodings
can cause clients to crash. The fix is for the contents of all
incoming plaintext messages are converted to UTF-8 and validated
before used.
This was reported to us by Fabian Yamaguchi and this patch was written
by Elliott Sales de Andrade (maybe with small, insignificant changes by me)
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 07 May 2012 03:18:08 +0000 |
parents | fcffb1b97e3f |
children |
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 # |
25911
0c7b74fc558e
Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents:
25863
diff
changeset
|
4 # Description: Makefile for win32 (mingw) version of libpurple |
15373
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:
15975
diff
changeset
|
7 PIDGIN_TREE_TOP := .. |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15975
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 |
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
|
10 TARGET = libpurple |
29404
1d712c4f9b6c
Win32 build updates
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29401
diff
changeset
|
11 NEEDED_DLLS = $(LIBXML2_TOP)/bin/libxml2-2.dll |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
12 |
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 ## INCLUDE PATHS |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
15 ## |
16314
1843c0180fbe
Allow include and lib paths to be overridden from local.ent
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
16 INCLUDE_PATHS += \ |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15975
diff
changeset
|
17 -I$(PURPLE_TOP) \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15975
diff
changeset
|
18 -I$(PURPLE_TOP)/win32 \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15975
diff
changeset
|
19 -I$(PIDGIN_TREE_TOP) \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
20 -I$(GTK_TOP)/include \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
21 -I$(GTK_TOP)/include/glib-2.0 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
22 -I$(GTK_TOP)/lib/glib-2.0/include \ |
29404
1d712c4f9b6c
Win32 build updates
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29401
diff
changeset
|
23 -I$(LIBXML2_TOP)/include/libxml2 |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
24 |
16314
1843c0180fbe
Allow include and lib paths to be overridden from local.ent
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16039
diff
changeset
|
25 LIB_PATHS += -L$(GTK_TOP)/lib \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
26 -L$(LIBXML2_TOP)/lib |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
27 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
28 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
29 ## SOURCES, OBJECTS |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
30 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
31 C_SRC = \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
32 account.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
33 accountopt.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
34 blist.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
35 buddyicon.c \ |
19504
d5ecaf5bce93
Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
18657
diff
changeset
|
36 certificate.c \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
37 cipher.c \ |
31226
fcffb1b97e3f
Added ciphers/*.c to libpurple/Makefile.mingw's C_SRC's. I tried using the same convenience library trick that I did in linux, but I just can't make it work here
Gary Kramlich <grim@reaperworld.com>
parents:
29404
diff
changeset
|
38 ciphers/des.c \ |
fcffb1b97e3f
Added ciphers/*.c to libpurple/Makefile.mingw's C_SRC's. I tried using the same convenience library trick that I did in linux, but I just can't make it work here
Gary Kramlich <grim@reaperworld.com>
parents:
29404
diff
changeset
|
39 ciphers/gchecksum.c \ |
fcffb1b97e3f
Added ciphers/*.c to libpurple/Makefile.mingw's C_SRC's. I tried using the same convenience library trick that I did in linux, but I just can't make it work here
Gary Kramlich <grim@reaperworld.com>
parents:
29404
diff
changeset
|
40 ciphers/hmac.c \ |
fcffb1b97e3f
Added ciphers/*.c to libpurple/Makefile.mingw's C_SRC's. I tried using the same convenience library trick that I did in linux, but I just can't make it work here
Gary Kramlich <grim@reaperworld.com>
parents:
29404
diff
changeset
|
41 ciphers/md4.c \ |
fcffb1b97e3f
Added ciphers/*.c to libpurple/Makefile.mingw's C_SRC's. I tried using the same convenience library trick that I did in linux, but I just can't make it work here
Gary Kramlich <grim@reaperworld.com>
parents:
29404
diff
changeset
|
42 ciphers/md5.c \ |
fcffb1b97e3f
Added ciphers/*.c to libpurple/Makefile.mingw's C_SRC's. I tried using the same convenience library trick that I did in linux, but I just can't make it work here
Gary Kramlich <grim@reaperworld.com>
parents:
29404
diff
changeset
|
43 ciphers/rc4.c \ |
fcffb1b97e3f
Added ciphers/*.c to libpurple/Makefile.mingw's C_SRC's. I tried using the same convenience library trick that I did in linux, but I just can't make it work here
Gary Kramlich <grim@reaperworld.com>
parents:
29404
diff
changeset
|
44 ciphers/sha1.c \ |
fcffb1b97e3f
Added ciphers/*.c to libpurple/Makefile.mingw's C_SRC's. I tried using the same convenience library trick that I did in linux, but I just can't make it work here
Gary Kramlich <grim@reaperworld.com>
parents:
29404
diff
changeset
|
45 ciphers/sha256.c \ |
26563
75b473f216f2
Include the media API on win32 even though it isn't actually enabled.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
25911
diff
changeset
|
46 circbuffer.c \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
47 cmds.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
48 connection.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
49 conversation.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
50 core.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
51 debug.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
52 dnsquery.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
53 dnssrv.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
54 eventloop.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
55 ft.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
56 idle.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
57 imgstore.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
58 log.c \ |
26563
75b473f216f2
Include the media API on win32 even though it isn't actually enabled.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
25911
diff
changeset
|
59 mediamanager.c \ |
29401
bc2760c74a79
Fix win32 build
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29146
diff
changeset
|
60 media.c \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
61 mime.c \ |
15975
328ae2c041c3
fix win32 build for nat-pmp stuff. I haven't tested it, but it compiles.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15830
diff
changeset
|
62 nat-pmp.c \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
63 network.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
64 notify.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
65 ntlm.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
66 plugin.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
67 pluginpref.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
68 pounce.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
69 prefs.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
70 privacy.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
71 proxy.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
72 prpl.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
73 request.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
74 roomlist.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
75 savedstatuses.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
76 server.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
77 signals.c \ |
22311
02eda4bd2b22
Apply the custom smiley patches from #1187, from Jorge Villaseo (Masca) and
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
21584
diff
changeset
|
78 smiley.c \ |
26563
75b473f216f2
Include the media API on win32 even though it isn't actually enabled.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
25911
diff
changeset
|
79 sound-theme-loader.c \ |
25863
d5852f7208fa
Fix win32 build. I haven't actually tested any of the functionality, but it
Daniel Atallah <daniel.atallah@gmail.com>
parents:
22311
diff
changeset
|
80 sound-theme.c \ |
26563
75b473f216f2
Include the media API on win32 even though it isn't actually enabled.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
25911
diff
changeset
|
81 sound.c \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
82 sslconn.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
83 status.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
84 stringref.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
85 stun.c \ |
25863
d5852f7208fa
Fix win32 build. I haven't actually tested any of the functionality, but it
Daniel Atallah <daniel.atallah@gmail.com>
parents:
22311
diff
changeset
|
86 theme-loader.c \ |
d5852f7208fa
Fix win32 build. I haven't actually tested any of the functionality, but it
Daniel Atallah <daniel.atallah@gmail.com>
parents:
22311
diff
changeset
|
87 theme-manager.c \ |
26563
75b473f216f2
Include the media API on win32 even though it isn't actually enabled.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
25911
diff
changeset
|
88 theme.c \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
89 upnp.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
90 util.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
91 value.c \ |
17614
b0a1782b90d2
Somehow, version.c wasn't added to the libpurple build. Now that it is actually used, it really needs to be added.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
17342
diff
changeset
|
92 version.c \ |
26563
75b473f216f2
Include the media API on win32 even though it isn't actually enabled.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
25911
diff
changeset
|
93 whiteboard.c \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
94 xmlnode.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
95 win32/giowin32.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
96 win32/libc_interface.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
97 win32/win32dep.c |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
98 |
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
|
99 RC_SRC = win32/libpurplerc.rc |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
100 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
101 OBJECTS = $(C_SRC:%.c=%.o) $(RC_SRC:%.rc=%.o) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
102 |
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 ## LIBRARIES |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
105 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
106 LIBS = \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
107 -lglib-2.0 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
108 -lgthread-2.0 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
109 -lgobject-2.0 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
110 -lgmodule-2.0 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
111 -lintl \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
112 -lws2_32 \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
113 -lxml2 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
114 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15975
diff
changeset
|
115 include $(PIDGIN_COMMON_RULES) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
116 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
117 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
118 ## TARGET DEFINITIONS |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
119 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
120 .PHONY: all install install_shallow clean |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
121 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
122 all: $(TARGET).dll |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15975
diff
changeset
|
123 $(MAKE) -C $(PURPLE_PROTOS_TOP) -f $(MINGW_MAKEFILE) |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15975
diff
changeset
|
124 $(MAKE) -C $(PURPLE_PLUGINS_TOP) -f $(MINGW_MAKEFILE) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
125 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15975
diff
changeset
|
126 install_shallow: $(PURPLE_INSTALL_DIR) $(TARGET).dll |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15975
diff
changeset
|
127 cp $(TARGET).dll $(PURPLE_INSTALL_DIR) |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15975
diff
changeset
|
128 cp $(NEEDED_DLLS) $(PURPLE_INSTALL_DIR) |
15373
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 install: install_shallow all |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15975
diff
changeset
|
131 $(MAKE) -C $(PURPLE_PROTOS_TOP) -f $(MINGW_MAKEFILE) install |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15975
diff
changeset
|
132 $(MAKE) -C $(PURPLE_PLUGINS_TOP) -f $(MINGW_MAKEFILE) install |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
133 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15975
diff
changeset
|
134 ./win32/libpurplerc.rc: ./win32/libpurplerc.rc.in $(PIDGIN_TREE_TOP)/VERSION |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15975
diff
changeset
|
135 sed -e 's/@PURPLE_VERSION@/$(PURPLE_VERSION)/g' \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
136 $@.in > $@ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
137 |
21546
948ef81f4215
Fix purple.h generation on win32. Thanks to Kevin for noticing.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
19504
diff
changeset
|
138 $(OBJECTS): $(PURPLE_CONFIG_H) $(PURPLE_VERSION_H) $(PURPLE_PURPLE_H) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
139 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
140 $(TARGET).dll $(TARGET).dll.a: $(OBJECTS) |
17342
ecf5bf6daa78
Create .def files for easy msvc import library creation.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16689
diff
changeset
|
141 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -Wl,--output-def,$(TARGET).def,--out-implib,$(TARGET).dll.a -o $(TARGET).dll |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
142 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
143 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
144 ## CLEAN RULES |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
145 ## |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
146 clean: |
21584
055e1abac7cf
This is a patch from Lee Roach to update the mingw "clean" makefile targets to remove some generated files and to fix a couple other issues. Fixes #3981.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
21546
diff
changeset
|
147 rm -f $(OBJECTS) $(RC_SRC) $(PURPLE_VERSION_H) $(PURPLE_PURPLE_H) |
18657
46629aab70b1
Make sure we delete all generated files with the mingw clean make target.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
17614
diff
changeset
|
148 rm -f $(TARGET).dll $(TARGET).dll.a $(TARGET).def |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15975
diff
changeset
|
149 $(MAKE) -C $(PURPLE_PROTOS_TOP) -f $(MINGW_MAKEFILE) clean |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15975
diff
changeset
|
150 $(MAKE) -C $(PURPLE_PLUGINS_TOP) -f $(MINGW_MAKEFILE) clean |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
151 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15975
diff
changeset
|
152 include $(PIDGIN_COMMON_TARGETS) |