Mercurial > pidgin.yaz
annotate Makefile.mingw @ 3744:e9d681ef14d9
[gaim-migrate @ 3882]
Friendly gophers gopherly gopher my food!
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Fri, 18 Oct 2002 16:05:28 +0000 |
parents | cae5b523f0ed |
children | c246e743ef8b |
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 | |
3675 | 65 PIXMAPS_MENUS = $(GAIM_PIXMAPS)/insert-image-small.png |
66 | |
3670
773dbe57e635
[gaim-migrate @ 3800]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
67 PIXMAPS_BUTTONS = $(GAIM_PIXMAPS)/edit.png \ |
773dbe57e635
[gaim-migrate @ 3800]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
68 $(GAIM_PIXMAPS)/accounts.png \ |
773dbe57e635
[gaim-migrate @ 3800]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
69 $(GAIM_PIXMAPS)/preferences.png \ |
3672 | 70 $(GAIM_PIXMAPS)/signon.png \ |
71 $(GAIM_PIXMAPS)/insert-image-small.png \ | |
72 $(GAIM_PIXMAPS)/insert-link-small.png \ | |
73 $(GAIM_PIXMAPS)/insert-smiley-small.png \ | |
74 $(GAIM_PIXMAPS)/text_bigger.png \ | |
75 $(GAIM_PIXMAPS)/text_normal.png \ | |
3674 | 76 $(GAIM_PIXMAPS)/text_smaller.png |
3630 | 77 |
78 PIXMAPS = $(GAIM_PIXMAPS)/away.png \ | |
79 $(GAIM_PIXMAPS)/connect.png \ | |
80 $(GAIM_PIXMAPS)/msgpend.png \ | |
81 $(GAIM_PIXMAPS)/msgunread.png \ | |
82 $(GAIM_PIXMAPS)/offline.png \ | |
3670
773dbe57e635
[gaim-migrate @ 3800]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
83 $(GAIM_PIXMAPS)/online.png \ |
773dbe57e635
[gaim-migrate @ 3800]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
84 $(GAIM_PIXMAPS)/logo.png |
3630 | 85 |
86 | |
87 ## | |
88 ## Don't forget to change STATIC_PROTO_INIT, in config.h.mingw if you | |
89 ## change the status of a protocol (static/plugin) | |
90 ## | |
91 | |
92 OSCAR_TYPE = PLUGIN | |
93 YAHOO_TYPE = PLUGIN | |
94 MSN_TYPE = PLUGIN | |
95 TOC_TYPE = PLUGIN | |
96 IRC_TYPE = PLUGIN | |
97 JABBER_TYPE = PLUGIN | |
98 NAPSTER_TYPE = PLUGIN | |
99 GG_TYPE = PLUGIN | |
100 | |
101 all: | |
102 cp config.h.mingw config.h | |
103 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw | |
104 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw | |
105 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw | |
106 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw | |
107 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw | |
108 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw | |
109 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw | |
110 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw | |
111 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw | |
112 | |
113 | |
114 install: all | |
115 mkdir -p $(GAIM_INSTALL_DIR)/plugins | |
116 mkdir -p $(GAIM_INSTALL_DIR)/pixmaps/gaim/dialogs | |
117 mkdir -p $(GAIM_INSTALL_DIR)/pixmaps/gaim/buttons | |
3676 | 118 mkdir -p $(GAIM_INSTALL_DIR)/pixmaps/gaim/menus |
3630 | 119 $(MAKE) -C $(PO) -f Makefile.mingw install |
120 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw install | |
121 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw install | |
122 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw install | |
123 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw install | |
124 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw install | |
125 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw install | |
126 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw install | |
127 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw install | |
128 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw install | |
129 cp $(NEEDED_DLLS) $(GAIM_INSTALL_DIR) | |
130 cp $(PIXMAPS_DIALOGS) $(GAIM_INSTALL_DIR)/pixmaps/gaim/dialogs | |
131 cp $(PIXMAPS_BUTTONS) $(GAIM_INSTALL_DIR)/pixmaps/gaim/buttons | |
3675 | 132 cp $(PIXMAPS_MENUS) $(GAIM_INSTALL_DIR)/pixmaps/gaim/menus |
3630 | 133 cp $(PIXMAPS) $(GAIM_INSTALL_DIR)/pixmaps/gaim |
134 mkdir -p $(GAIM_INSTALL_DIR)/lib/gtk-2.0 | |
135 cp -R $(GTK_LIBS)/gtk-2.0/2.0.0 $(GAIM_INSTALL_DIR)/lib/gtk-2.0 | |
136 cp -R $(GTK_LIBS)/pango $(GAIM_INSTALL_DIR)/lib | |
137 cp -R $(GTK_TOP)/etc $(GAIM_INSTALL_DIR) | |
138 | |
139 installer: | |
140 makensis.exe gaim-installer.nsi | |
141 | |
142 clean: | |
143 $(MAKE) -C $(PO) -f Makefile.mingw clean | |
144 $(MAKE) -C $(OSCAR) -f Makefile.mingw clean | |
145 $(MAKE) -C $(YAHOO) -f Makefile.mingw clean | |
146 $(MAKE) -C $(MSN) -f Makefile.mingw clean | |
147 $(MAKE) -C $(TOC) -f Makefile.mingw clean | |
148 $(MAKE) -C $(IRC) -f Makefile.mingw clean | |
149 $(MAKE) -C $(JABBER) -f Makefile.mingw clean | |
150 $(MAKE) -C $(GG) -f Makefile.mingw clean | |
151 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw clean | |
152 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw clean | |
153 rm -rf config.h $(GAIM_INSTALL_DIR) | |
154 rm -rf Install-Gaim*.exe |