Mercurial > pidgin.yaz
annotate Makefile.mingw @ 4738:34fdf9e313d5
[gaim-migrate @ 5053]
I combined some hash tables in oscar.c to make things a bit neater.
Funtionality-wise, I made "online since" show up in the oscar
per-buddy tooltip thing, fixed the buddy selection file browser
dialog thing so the default file is blank and it puts you in the
correct directory (it is more similar to how gtkft.c does it), and
I made it so buddy icons will only be requested/advertised when
needed, rather than for every single message. Hopefully this
will make it so the icon is not re-sent for every message. And
hopefully I didn't break anything.
HEY YOU
Find out why "Capabilities" is not indeded like "Online Since" in
the tooltip.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 13 Mar 2003 08:42:06 +0000 |
parents | 741a18f2fb23 |
children | ee46d3875cc8 |
rev | line source |
---|---|
3630 | 1 # Makefile.mingw |
2 # | |
3 # Author: hermanator12002@yahoo.com | |
4 # Date 9/11/02 | |
5 # Description: Top Makefile for win32 (mingw) port of Gaim | |
6 # | |
7 | |
8 GAIM_SRC = ./src | |
9 GAIM_PROTOS = $(GAIM_SRC)/protocols | |
10 GAIM_PLUGINS = ./plugins | |
11 GAIM_PIXMAPS = ./pixmaps | |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
12 GAIM_SOUNDS = ./sounds |
3630 | 13 GAIM_INSTALL_DIR = ./win32-install-dir |
14 GTK_TOP = ../win32-dev/gtk_2_0 | |
15 GTK_LIBS = $(GTK_TOP)/lib | |
4373
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
16 GTK_BIN = $(GTK_TOP)/bin |
3630 | 17 PERL_TOP = ../win32-dev/perl56 |
4537
741a18f2fb23
[gaim-migrate @ 4816]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4373
diff
changeset
|
18 IDLETRACK_TOP = $(GAIM_SRC)/win32/IdleTracker |
3920
1b3beae6c59c
[gaim-migrate @ 4085]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3905
diff
changeset
|
19 GTKRC_TOP = ../win32-dev/gtkrc |
3630 | 20 OSCAR = $(GAIM_PROTOS)/oscar |
21 YAHOO = $(GAIM_PROTOS)/yahoo | |
22 MSN = $(GAIM_PROTOS)/msn | |
23 TOC = $(GAIM_PROTOS)/toc | |
24 IRC = $(GAIM_PROTOS)/irc | |
25 JABBER = $(GAIM_PROTOS)/jabber | |
26 NAPSTER = $(GAIM_PROTOS)/napster | |
27 GG = $(GAIM_PROTOS)/gg | |
28 PO = ./po | |
29 | |
3967
cafc0968ea6b
[gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3963
diff
changeset
|
30 VERSION := $(shell cat ./VERSION) |
cafc0968ea6b
[gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3963
diff
changeset
|
31 |
4373
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
32 NEEDED_DLLS = $(GTK_BIN)/libgdk-win32-2.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
33 $(GTK_BIN)/libglib-2.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
34 $(GTK_BIN)/libintl-1.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
35 $(GTK_BIN)/iconv.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
36 $(GTK_BIN)/libgmodule-2.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
37 $(GTK_BIN)/libgtk-win32-2.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
38 $(GTK_BIN)/libgdk_pixbuf-2.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
39 $(GTK_BIN)/libgobject-2.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
40 $(GTK_BIN)/libgthread-2.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
41 $(GTK_BIN)/libjpeg.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
42 $(GTK_BIN)/libpng.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
43 $(GTK_BIN)/libtiff.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
44 $(GTK_BIN)/zlib.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
45 $(GTK_BIN)/libpango-1.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
46 $(GTK_BIN)/libpangoft2-1.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
47 $(GTK_BIN)/libpangowin32-1.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
48 $(GTK_BIN)/libatk-1.0-0.dll \ |
3896 | 49 $(PERL_TOP)/perl56.dll \ |
4537
741a18f2fb23
[gaim-migrate @ 4816]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4373
diff
changeset
|
50 $(IDLETRACK_TOP)/idletrack.dll |
3630 | 51 |
52 # For Gtk 2.0.3 | |
4373
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
53 # $(GTK_BIN)/libjpeg6b.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
54 # $(GTK_BIN)/libpng-3.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
55 # $(GTK_BIN)/libtiff.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
56 # $(GTK_BIN)/libz.dll \ |
3630 | 57 |
58 # For Gtk 2.0.6 | |
4373
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
59 # $(GTK_BIN)/libjpeg.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
60 # $(GTK_BIN)/libpng.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
61 # $(GTK_BIN)/libtiff.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
62 # $(GTK_BIN)/zlib.dll \ |
3630 | 63 |
64 | |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
65 SOUNDS = $(GAIM_SOUNDS)/leave.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
66 $(GAIM_SOUNDS)/redalert.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
67 $(GAIM_SOUNDS)/receive.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
68 $(GAIM_SOUNDS)/send.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
69 $(GAIM_SOUNDS)/arrive.wav |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
70 |
3630 | 71 |
72 ## | |
73 ## Don't forget to change STATIC_PROTO_INIT, in config.h.mingw if you | |
74 ## change the status of a protocol (static/plugin) | |
75 ## | |
76 | |
77 OSCAR_TYPE = PLUGIN | |
78 YAHOO_TYPE = PLUGIN | |
79 MSN_TYPE = PLUGIN | |
80 TOC_TYPE = PLUGIN | |
81 IRC_TYPE = PLUGIN | |
82 JABBER_TYPE = PLUGIN | |
83 NAPSTER_TYPE = PLUGIN | |
84 GG_TYPE = PLUGIN | |
85 | |
86 all: | |
87 cp config.h.mingw config.h | |
88 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw | |
89 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw | |
90 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw | |
91 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw | |
92 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw | |
93 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw | |
94 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw | |
4373
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
95 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw |
3630 | 96 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw |
97 | |
98 | |
99 install: all | |
100 mkdir -p $(GAIM_INSTALL_DIR)/plugins | |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
101 mkdir -p $(GAIM_INSTALL_DIR)/sounds/gaim |
4319
13f41fc1fa8f
[gaim-migrate @ 4574]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4060
diff
changeset
|
102 $(MAKE) -C $(GAIM_PIXMAPS) -f Makefile.mingw install |
3630 | 103 $(MAKE) -C $(PO) -f Makefile.mingw install |
104 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw install | |
105 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw install | |
106 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw install | |
107 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw install | |
108 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw install | |
109 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw install | |
110 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw install | |
111 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw install | |
112 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw install | |
113 cp $(NEEDED_DLLS) $(GAIM_INSTALL_DIR) | |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
114 cp $(SOUNDS) $(GAIM_INSTALL_DIR)/sounds/gaim |
3630 | 115 mkdir -p $(GAIM_INSTALL_DIR)/lib/gtk-2.0 |
4373
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
116 cp -R $(GTK_LIBS)/gtk-2.0/2.2.0 $(GAIM_INSTALL_DIR)/lib/gtk-2.0 |
3630 | 117 cp -R $(GTK_LIBS)/pango $(GAIM_INSTALL_DIR)/lib |
118 cp -R $(GTK_TOP)/etc $(GAIM_INSTALL_DIR) | |
3963
db0a88dd6fcf
[gaim-migrate @ 4147]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3923
diff
changeset
|
119 cp $(GAIM_SRC)/win32/themes/gtkrc $(GAIM_INSTALL_DIR)/etc/gtk-2.0 |
3630 | 120 |
121 installer: | |
3967
cafc0968ea6b
[gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3963
diff
changeset
|
122 makensis.exe /DGAIM_VERSION="$(VERSION)" gaim-installer.nsi |
3630 | 123 |
124 clean: | |
125 $(MAKE) -C $(PO) -f Makefile.mingw clean | |
126 $(MAKE) -C $(OSCAR) -f Makefile.mingw clean | |
127 $(MAKE) -C $(YAHOO) -f Makefile.mingw clean | |
128 $(MAKE) -C $(MSN) -f Makefile.mingw clean | |
129 $(MAKE) -C $(TOC) -f Makefile.mingw clean | |
130 $(MAKE) -C $(IRC) -f Makefile.mingw clean | |
131 $(MAKE) -C $(JABBER) -f Makefile.mingw clean | |
132 $(MAKE) -C $(GG) -f Makefile.mingw clean | |
133 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw clean | |
134 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw clean | |
135 rm -rf config.h $(GAIM_INSTALL_DIR) | |
3898
34292bf25e4d
[gaim-migrate @ 4050]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3896
diff
changeset
|
136 rm -rf gaim*.exe |