Mercurial > pidgin.yaz
annotate Makefile.mingw @ 3883:2049abe74a63
[gaim-migrate @ 4035]
last commit
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Sun, 03 Nov 2002 08:49:55 +0000 |
parents | b10f36aa0b18 |
children | dbb4d31718a4 |
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 | |
12 GAIM_INSTALL_DIR = ./win32-install-dir | |
13 GTK_TOP = ../win32-dev/gtk_2_0 | |
14 GTK_LIBS = $(GTK_TOP)/lib | |
15 PERL_TOP = ../win32-dev/perl56 | |
16 OSCAR = $(GAIM_PROTOS)/oscar | |
17 YAHOO = $(GAIM_PROTOS)/yahoo | |
18 MSN = $(GAIM_PROTOS)/msn | |
19 TOC = $(GAIM_PROTOS)/toc | |
20 IRC = $(GAIM_PROTOS)/irc | |
21 JABBER = $(GAIM_PROTOS)/jabber | |
22 NAPSTER = $(GAIM_PROTOS)/napster | |
23 GG = $(GAIM_PROTOS)/gg | |
24 PO = ./po | |
25 | |
26 NEEDED_DLLS = $(GTK_LIBS)/libgdk-win32-2.0-0.dll \ | |
27 $(GTK_LIBS)/libglib-2.0-0.dll \ | |
28 $(GTK_LIBS)/libintl-1.dll \ | |
29 $(GTK_LIBS)/iconv.dll \ | |
30 $(GTK_LIBS)/libgmodule-2.0-0.dll \ | |
31 $(GTK_LIBS)/libgtk-win32-2.0-0.dll \ | |
32 $(GTK_LIBS)/libgdk_pixbuf-2.0-0.dll \ | |
33 $(GTK_LIBS)/libgobject-2.0-0.dll \ | |
34 $(GTK_LIBS)/libgthread-2.0-0.dll \ | |
35 $(GTK_TOP)/bin/libjpeg.dll \ | |
36 $(GTK_TOP)/bin/libpng.dll \ | |
37 $(GTK_TOP)/bin/libtiff.dll \ | |
38 $(GTK_TOP)/bin/zlib.dll \ | |
39 $(GTK_LIBS)/libpango-1.0-0.dll \ | |
40 $(GTK_LIBS)/libpangoft2-1.0-0.dll \ | |
41 $(GTK_LIBS)/libpangowin32-1.0-0.dll \ | |
42 $(GTK_LIBS)/libatk-1.0-0.dll \ | |
43 $(PERL_TOP)/perl56.dll | |
44 | |
45 # For Gtk 2.0.3 | |
46 # $(GTK_LIBS)/libjpeg6b.dll \ | |
47 # $(GTK_LIBS)/libpng-3.dll \ | |
48 # $(GTK_LIBS)/libtiff.dll \ | |
49 # $(GTK_LIBS)/libz.dll \ | |
50 | |
51 # For Gtk 2.0.6 | |
52 # $(GTK_TOP)/bin/libjpeg.dll \ | |
53 # $(GTK_TOP)/bin/libpng.dll \ | |
54 # $(GTK_TOP)/bin/libtiff.dll \ | |
55 # $(GTK_TOP)/bin/zlib.dll \ | |
56 | |
57 | |
58 | |
59 | |
60 PIXMAPS_DIALOGS = $(GAIM_PIXMAPS)/gaim_error.png \ | |
61 $(GAIM_PIXMAPS)/gaim_info.png \ | |
62 $(GAIM_PIXMAPS)/gaim_warning.png \ | |
63 $(GAIM_PIXMAPS)/gaim_question.png | |
64 | |
3881 | 65 PIXMAPS_MENUS = $(GAIM_PIXMAPS)/about_menu.png \ |
3883 | 66 $(GAIM_PIXMAPS)/accounts-menu.png \ |
67 $(GAIM_PIXMAPS)/import-menu.png \ | |
3881 | 68 $(GAIM_PIXMAPS)/insert-image-small.png |
3675 | 69 |
3670
773dbe57e635
[gaim-migrate @ 3800]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
70 PIXMAPS_BUTTONS = $(GAIM_PIXMAPS)/edit.png \ |
773dbe57e635
[gaim-migrate @ 3800]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
71 $(GAIM_PIXMAPS)/accounts.png \ |
773dbe57e635
[gaim-migrate @ 3800]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
72 $(GAIM_PIXMAPS)/preferences.png \ |
3672 | 73 $(GAIM_PIXMAPS)/signon.png \ |
74 $(GAIM_PIXMAPS)/insert-image-small.png \ | |
75 $(GAIM_PIXMAPS)/insert-link-small.png \ | |
76 $(GAIM_PIXMAPS)/insert-smiley-small.png \ | |
77 $(GAIM_PIXMAPS)/text_bigger.png \ | |
78 $(GAIM_PIXMAPS)/text_normal.png \ | |
3674 | 79 $(GAIM_PIXMAPS)/text_smaller.png |
3630 | 80 |
81 PIXMAPS = $(GAIM_PIXMAPS)/away.png \ | |
82 $(GAIM_PIXMAPS)/connect.png \ | |
83 $(GAIM_PIXMAPS)/msgpend.png \ | |
84 $(GAIM_PIXMAPS)/msgunread.png \ | |
85 $(GAIM_PIXMAPS)/offline.png \ | |
3670
773dbe57e635
[gaim-migrate @ 3800]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
86 $(GAIM_PIXMAPS)/online.png \ |
773dbe57e635
[gaim-migrate @ 3800]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
87 $(GAIM_PIXMAPS)/logo.png |
3630 | 88 |
89 | |
90 ## | |
91 ## Don't forget to change STATIC_PROTO_INIT, in config.h.mingw if you | |
92 ## change the status of a protocol (static/plugin) | |
93 ## | |
94 | |
95 OSCAR_TYPE = PLUGIN | |
96 YAHOO_TYPE = PLUGIN | |
97 MSN_TYPE = PLUGIN | |
98 TOC_TYPE = PLUGIN | |
99 IRC_TYPE = PLUGIN | |
100 JABBER_TYPE = PLUGIN | |
101 NAPSTER_TYPE = PLUGIN | |
102 GG_TYPE = PLUGIN | |
103 | |
104 all: | |
105 cp config.h.mingw config.h | |
106 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw | |
107 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw | |
108 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw | |
109 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw | |
110 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw | |
111 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw | |
112 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw | |
113 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw | |
114 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw | |
115 | |
116 | |
117 install: all | |
118 mkdir -p $(GAIM_INSTALL_DIR)/plugins | |
119 mkdir -p $(GAIM_INSTALL_DIR)/pixmaps/gaim/dialogs | |
120 mkdir -p $(GAIM_INSTALL_DIR)/pixmaps/gaim/buttons | |
3676 | 121 mkdir -p $(GAIM_INSTALL_DIR)/pixmaps/gaim/menus |
3630 | 122 $(MAKE) -C $(PO) -f Makefile.mingw install |
123 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw install | |
124 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw install | |
125 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw install | |
126 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw install | |
127 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw install | |
128 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw install | |
129 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw install | |
130 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw install | |
131 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw install | |
132 cp $(NEEDED_DLLS) $(GAIM_INSTALL_DIR) | |
133 cp $(PIXMAPS_DIALOGS) $(GAIM_INSTALL_DIR)/pixmaps/gaim/dialogs | |
134 cp $(PIXMAPS_BUTTONS) $(GAIM_INSTALL_DIR)/pixmaps/gaim/buttons | |
3675 | 135 cp $(PIXMAPS_MENUS) $(GAIM_INSTALL_DIR)/pixmaps/gaim/menus |
3630 | 136 cp $(PIXMAPS) $(GAIM_INSTALL_DIR)/pixmaps/gaim |
137 mkdir -p $(GAIM_INSTALL_DIR)/lib/gtk-2.0 | |
138 cp -R $(GTK_LIBS)/gtk-2.0/2.0.0 $(GAIM_INSTALL_DIR)/lib/gtk-2.0 | |
139 cp -R $(GTK_LIBS)/pango $(GAIM_INSTALL_DIR)/lib | |
140 cp -R $(GTK_TOP)/etc $(GAIM_INSTALL_DIR) | |
141 | |
142 installer: | |
143 makensis.exe gaim-installer.nsi | |
144 | |
145 clean: | |
146 $(MAKE) -C $(PO) -f Makefile.mingw clean | |
147 $(MAKE) -C $(OSCAR) -f Makefile.mingw clean | |
148 $(MAKE) -C $(YAHOO) -f Makefile.mingw clean | |
149 $(MAKE) -C $(MSN) -f Makefile.mingw clean | |
150 $(MAKE) -C $(TOC) -f Makefile.mingw clean | |
151 $(MAKE) -C $(IRC) -f Makefile.mingw clean | |
152 $(MAKE) -C $(JABBER) -f Makefile.mingw clean | |
153 $(MAKE) -C $(GG) -f Makefile.mingw clean | |
154 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw clean | |
155 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw clean | |
156 rm -rf config.h $(GAIM_INSTALL_DIR) | |
157 rm -rf Install-Gaim*.exe |