Mercurial > pidgin.yaz
annotate Makefile.mingw @ 4372:00f4fa7a93ff
[gaim-migrate @ 4638]
i wanna play with the baby! wake it up!
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Tue, 21 Jan 2003 00:18:06 +0000 |
parents | 65d98b565fbe |
children | dcc6c130c6d9 |
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 | |
16 PERL_TOP = ../win32-dev/perl56 | |
3905
3e508dd31b76
[gaim-migrate @ 4058]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3898
diff
changeset
|
17 IDLETRACKER_TOP = $(GAIM_SRC)/win32/IdleTracker |
3920
1b3beae6c59c
[gaim-migrate @ 4085]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3905
diff
changeset
|
18 GTKRC_TOP = ../win32-dev/gtkrc |
3630 | 19 OSCAR = $(GAIM_PROTOS)/oscar |
20 YAHOO = $(GAIM_PROTOS)/yahoo | |
21 MSN = $(GAIM_PROTOS)/msn | |
22 TOC = $(GAIM_PROTOS)/toc | |
23 IRC = $(GAIM_PROTOS)/irc | |
24 JABBER = $(GAIM_PROTOS)/jabber | |
25 NAPSTER = $(GAIM_PROTOS)/napster | |
26 GG = $(GAIM_PROTOS)/gg | |
27 PO = ./po | |
28 | |
3967
cafc0968ea6b
[gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3963
diff
changeset
|
29 VERSION := $(shell cat ./VERSION) |
cafc0968ea6b
[gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3963
diff
changeset
|
30 |
3630 | 31 NEEDED_DLLS = $(GTK_LIBS)/libgdk-win32-2.0-0.dll \ |
32 $(GTK_LIBS)/libglib-2.0-0.dll \ | |
33 $(GTK_LIBS)/libintl-1.dll \ | |
34 $(GTK_LIBS)/iconv.dll \ | |
35 $(GTK_LIBS)/libgmodule-2.0-0.dll \ | |
36 $(GTK_LIBS)/libgtk-win32-2.0-0.dll \ | |
37 $(GTK_LIBS)/libgdk_pixbuf-2.0-0.dll \ | |
38 $(GTK_LIBS)/libgobject-2.0-0.dll \ | |
39 $(GTK_LIBS)/libgthread-2.0-0.dll \ | |
40 $(GTK_TOP)/bin/libjpeg.dll \ | |
41 $(GTK_TOP)/bin/libpng.dll \ | |
42 $(GTK_TOP)/bin/libtiff.dll \ | |
43 $(GTK_TOP)/bin/zlib.dll \ | |
44 $(GTK_LIBS)/libpango-1.0-0.dll \ | |
45 $(GTK_LIBS)/libpangoft2-1.0-0.dll \ | |
46 $(GTK_LIBS)/libpangowin32-1.0-0.dll \ | |
47 $(GTK_LIBS)/libatk-1.0-0.dll \ | |
3896 | 48 $(PERL_TOP)/perl56.dll \ |
3905
3e508dd31b76
[gaim-migrate @ 4058]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3898
diff
changeset
|
49 $(IDLETRACKER_TOP)/IdleTrac.dll |
3630 | 50 |
51 # For Gtk 2.0.3 | |
52 # $(GTK_LIBS)/libjpeg6b.dll \ | |
53 # $(GTK_LIBS)/libpng-3.dll \ | |
54 # $(GTK_LIBS)/libtiff.dll \ | |
55 # $(GTK_LIBS)/libz.dll \ | |
56 | |
57 # For Gtk 2.0.6 | |
58 # $(GTK_TOP)/bin/libjpeg.dll \ | |
59 # $(GTK_TOP)/bin/libpng.dll \ | |
60 # $(GTK_TOP)/bin/libtiff.dll \ | |
61 # $(GTK_TOP)/bin/zlib.dll \ | |
62 | |
63 | |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
64 SOUNDS = $(GAIM_SOUNDS)/leave.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
65 $(GAIM_SOUNDS)/redalert.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
66 $(GAIM_SOUNDS)/receive.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
67 $(GAIM_SOUNDS)/send.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
68 $(GAIM_SOUNDS)/arrive.wav |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
69 |
3630 | 70 |
71 ## | |
72 ## Don't forget to change STATIC_PROTO_INIT, in config.h.mingw if you | |
73 ## change the status of a protocol (static/plugin) | |
74 ## | |
75 | |
76 OSCAR_TYPE = PLUGIN | |
77 YAHOO_TYPE = PLUGIN | |
78 MSN_TYPE = PLUGIN | |
79 TOC_TYPE = PLUGIN | |
80 IRC_TYPE = PLUGIN | |
81 JABBER_TYPE = PLUGIN | |
82 NAPSTER_TYPE = PLUGIN | |
83 GG_TYPE = PLUGIN | |
84 | |
85 all: | |
86 cp config.h.mingw config.h | |
87 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw | |
88 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw | |
89 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw | |
90 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw | |
91 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw | |
92 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw | |
93 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw | |
4363
65d98b565fbe
[gaim-migrate @ 4629]
Christian Hammond <chipx86@chipx86.com>
parents:
4319
diff
changeset
|
94 $(MAKE) TYPE '$(NAPSTER_TYPE)' -C $(NAPSTER) -f Makefile.mingw |
3630 | 95 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw |
96 | |
97 | |
98 install: all | |
99 mkdir -p $(GAIM_INSTALL_DIR)/plugins | |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
100 mkdir -p $(GAIM_INSTALL_DIR)/sounds/gaim |
4319
13f41fc1fa8f
[gaim-migrate @ 4574]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4060
diff
changeset
|
101 $(MAKE) -C $(GAIM_PIXMAPS) -f Makefile.mingw install |
3630 | 102 $(MAKE) -C $(PO) -f Makefile.mingw install |
103 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw install | |
104 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw install | |
105 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw install | |
106 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw install | |
107 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw install | |
108 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw install | |
109 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw install | |
110 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw install | |
111 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw install | |
4363
65d98b565fbe
[gaim-migrate @ 4629]
Christian Hammond <chipx86@chipx86.com>
parents:
4319
diff
changeset
|
112 $(MAKE) TYPE='$(NAPSTER_TYPE)' -C $(NAPSTER) -f Makefile.mingw install |
3630 | 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 |
116 cp -R $(GTK_LIBS)/gtk-2.0/2.0.0 $(GAIM_INSTALL_DIR)/lib/gtk-2.0 | |
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 | |
4363
65d98b565fbe
[gaim-migrate @ 4629]
Christian Hammond <chipx86@chipx86.com>
parents:
4319
diff
changeset
|
133 $(MAKE) -C $(NAPSTER) -f Makefile.mingw clean |
3630 | 134 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw clean |
135 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw clean | |
136 rm -rf config.h $(GAIM_INSTALL_DIR) | |
3898
34292bf25e4d
[gaim-migrate @ 4050]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3896
diff
changeset
|
137 rm -rf gaim*.exe |