Mercurial > pidgin
annotate Makefile.mingw @ 4881:651830ba3720
[gaim-migrate @ 5211]
Removed st_loginwin_filter
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Mon, 24 Mar 2003 18:28:09 +0000 |
parents | ee46d3875cc8 |
children | 65a0a360e8c4 |
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 |
4863
ee46d3875cc8
[gaim-migrate @ 5190]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4537
diff
changeset
|
18 GTKSPELL_TOP = ../win32-dev/gtkspell-2.0.4/gtkspell |
4537
741a18f2fb23
[gaim-migrate @ 4816]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4373
diff
changeset
|
19 IDLETRACK_TOP = $(GAIM_SRC)/win32/IdleTracker |
3920
1b3beae6c59c
[gaim-migrate @ 4085]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3905
diff
changeset
|
20 GTKRC_TOP = ../win32-dev/gtkrc |
3630 | 21 OSCAR = $(GAIM_PROTOS)/oscar |
22 YAHOO = $(GAIM_PROTOS)/yahoo | |
23 MSN = $(GAIM_PROTOS)/msn | |
24 TOC = $(GAIM_PROTOS)/toc | |
25 IRC = $(GAIM_PROTOS)/irc | |
26 JABBER = $(GAIM_PROTOS)/jabber | |
27 NAPSTER = $(GAIM_PROTOS)/napster | |
28 GG = $(GAIM_PROTOS)/gg | |
29 PO = ./po | |
30 | |
3967
cafc0968ea6b
[gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3963
diff
changeset
|
31 VERSION := $(shell cat ./VERSION) |
cafc0968ea6b
[gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3963
diff
changeset
|
32 |
4373
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
33 NEEDED_DLLS = $(GTK_BIN)/libgdk-win32-2.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
34 $(GTK_BIN)/libglib-2.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
35 $(GTK_BIN)/libintl-1.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
36 $(GTK_BIN)/iconv.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
37 $(GTK_BIN)/libgmodule-2.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
38 $(GTK_BIN)/libgtk-win32-2.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
39 $(GTK_BIN)/libgdk_pixbuf-2.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
40 $(GTK_BIN)/libgobject-2.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
41 $(GTK_BIN)/libgthread-2.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
42 $(GTK_BIN)/libjpeg.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
43 $(GTK_BIN)/libpng.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
44 $(GTK_BIN)/libtiff.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
45 $(GTK_BIN)/zlib.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
46 $(GTK_BIN)/libpango-1.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
47 $(GTK_BIN)/libpangoft2-1.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
48 $(GTK_BIN)/libpangowin32-1.0-0.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
49 $(GTK_BIN)/libatk-1.0-0.dll \ |
3896 | 50 $(PERL_TOP)/perl56.dll \ |
4863
ee46d3875cc8
[gaim-migrate @ 5190]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4537
diff
changeset
|
51 $(GTKSPELL_TOP)/libgtkspell.dll \ |
ee46d3875cc8
[gaim-migrate @ 5190]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4537
diff
changeset
|
52 $(IDLETRACK_TOP)/idletrack.dll |
3630 | 53 |
54 # For Gtk 2.0.3 | |
4373
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
55 # $(GTK_BIN)/libjpeg6b.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
56 # $(GTK_BIN)/libpng-3.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
57 # $(GTK_BIN)/libtiff.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
58 # $(GTK_BIN)/libz.dll \ |
3630 | 59 |
60 # For Gtk 2.0.6 | |
4373
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
61 # $(GTK_BIN)/libjpeg.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
62 # $(GTK_BIN)/libpng.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
63 # $(GTK_BIN)/libtiff.dll \ |
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
64 # $(GTK_BIN)/zlib.dll \ |
3630 | 65 |
66 | |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
67 SOUNDS = $(GAIM_SOUNDS)/leave.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
68 $(GAIM_SOUNDS)/redalert.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
69 $(GAIM_SOUNDS)/receive.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
70 $(GAIM_SOUNDS)/send.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
71 $(GAIM_SOUNDS)/arrive.wav |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
72 |
3630 | 73 |
74 ## | |
75 ## Don't forget to change STATIC_PROTO_INIT, in config.h.mingw if you | |
76 ## change the status of a protocol (static/plugin) | |
77 ## | |
78 | |
79 OSCAR_TYPE = PLUGIN | |
80 YAHOO_TYPE = PLUGIN | |
81 MSN_TYPE = PLUGIN | |
82 TOC_TYPE = PLUGIN | |
83 IRC_TYPE = PLUGIN | |
84 JABBER_TYPE = PLUGIN | |
85 NAPSTER_TYPE = PLUGIN | |
86 GG_TYPE = PLUGIN | |
87 | |
88 all: | |
89 cp config.h.mingw config.h | |
90 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw | |
91 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw | |
92 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw | |
93 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw | |
94 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw | |
95 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw | |
96 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw | |
4373
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
97 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw |
3630 | 98 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw |
99 | |
100 | |
101 install: all | |
102 mkdir -p $(GAIM_INSTALL_DIR)/plugins | |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
103 mkdir -p $(GAIM_INSTALL_DIR)/sounds/gaim |
4319
13f41fc1fa8f
[gaim-migrate @ 4574]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4060
diff
changeset
|
104 $(MAKE) -C $(GAIM_PIXMAPS) -f Makefile.mingw install |
3630 | 105 $(MAKE) -C $(PO) -f Makefile.mingw install |
106 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw install | |
107 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw install | |
108 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw install | |
109 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw install | |
110 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw install | |
111 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw install | |
112 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw install | |
113 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw install | |
114 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw install | |
115 cp $(NEEDED_DLLS) $(GAIM_INSTALL_DIR) | |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
116 cp $(SOUNDS) $(GAIM_INSTALL_DIR)/sounds/gaim |
3630 | 117 mkdir -p $(GAIM_INSTALL_DIR)/lib/gtk-2.0 |
4373
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
118 cp -R $(GTK_LIBS)/gtk-2.0/2.2.0 $(GAIM_INSTALL_DIR)/lib/gtk-2.0 |
3630 | 119 cp -R $(GTK_LIBS)/pango $(GAIM_INSTALL_DIR)/lib |
120 cp -R $(GTK_TOP)/etc $(GAIM_INSTALL_DIR) | |
3963
db0a88dd6fcf
[gaim-migrate @ 4147]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3923
diff
changeset
|
121 cp $(GAIM_SRC)/win32/themes/gtkrc $(GAIM_INSTALL_DIR)/etc/gtk-2.0 |
3630 | 122 |
123 installer: | |
3967
cafc0968ea6b
[gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3963
diff
changeset
|
124 makensis.exe /DGAIM_VERSION="$(VERSION)" gaim-installer.nsi |
3630 | 125 |
126 clean: | |
127 $(MAKE) -C $(PO) -f Makefile.mingw clean | |
128 $(MAKE) -C $(OSCAR) -f Makefile.mingw clean | |
129 $(MAKE) -C $(YAHOO) -f Makefile.mingw clean | |
130 $(MAKE) -C $(MSN) -f Makefile.mingw clean | |
131 $(MAKE) -C $(TOC) -f Makefile.mingw clean | |
132 $(MAKE) -C $(IRC) -f Makefile.mingw clean | |
133 $(MAKE) -C $(JABBER) -f Makefile.mingw clean | |
134 $(MAKE) -C $(GG) -f Makefile.mingw clean | |
135 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw clean | |
136 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw clean | |
137 rm -rf config.h $(GAIM_INSTALL_DIR) | |
3898
34292bf25e4d
[gaim-migrate @ 4050]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3896
diff
changeset
|
138 rm -rf gaim*.exe |