Mercurial > pidgin.yaz
annotate Makefile.mingw @ 14019:19a1812e6c46
[gaim-migrate @ 16615]
Fix a crash.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 02 Aug 2006 06:24:38 +0000 |
parents | 34d086c78a0d |
children | 5c928f4c0105 |
rev | line source |
---|---|
3630 | 1 # Makefile.mingw |
8615 | 2 # |
3630 | 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 |
9565
c60809a33460
[gaim-migrate @ 10404]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
8675
diff
changeset
|
14 GTKSPELL_TOP = ../win32-dev/gtkspell-2.0.6/gtkspell |
13808
34d086c78a0d
[gaim-migrate @ 16234]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
12707
diff
changeset
|
15 LIBXML2_DIR = ../win32-dev/libxml2 |
4537
741a18f2fb23
[gaim-migrate @ 4816]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4373
diff
changeset
|
16 IDLETRACK_TOP = $(GAIM_SRC)/win32/IdleTracker |
3920
1b3beae6c59c
[gaim-migrate @ 4085]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3905
diff
changeset
|
17 GTKRC_TOP = ../win32-dev/gtkrc |
3630 | 18 OSCAR = $(GAIM_PROTOS)/oscar |
19 YAHOO = $(GAIM_PROTOS)/yahoo | |
20 MSN = $(GAIM_PROTOS)/msn | |
21 TOC = $(GAIM_PROTOS)/toc | |
22 IRC = $(GAIM_PROTOS)/irc | |
23 JABBER = $(GAIM_PROTOS)/jabber | |
24 NAPSTER = $(GAIM_PROTOS)/napster | |
25 GG = $(GAIM_PROTOS)/gg | |
8675 | 26 NOVELL = $(GAIM_PROTOS)/novell |
10201
5e1ca11db043
[gaim-migrate @ 11319]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
10185
diff
changeset
|
27 SILC = $(GAIM_PROTOS)/silc |
11578
8b955ffe9584
[gaim-migrate @ 13847]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11090
diff
changeset
|
28 SIMPLE = $(GAIM_PROTOS)/simple |
11090
af2a4d5b9afe
[gaim-migrate @ 13111]
Gary Kramlich <grim@reaperworld.com>
parents:
10804
diff
changeset
|
29 SAMETIME = $(GAIM_PROTOS)/sametime |
3630 | 30 PO = ./po |
31 | |
10804 | 32 MAKENSIS := makensis.exe |
33 | |
3967
cafc0968ea6b
[gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3963
diff
changeset
|
34 VERSION := $(shell cat ./VERSION) |
cafc0968ea6b
[gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3963
diff
changeset
|
35 |
6816
5aeba37b303c
[gaim-migrate @ 7356]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6795
diff
changeset
|
36 NEEDED_DLLS = $(GTKSPELL_TOP)/libgtkspell.dll \ |
13808
34d086c78a0d
[gaim-migrate @ 16234]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
12707
diff
changeset
|
37 $(IDLETRACK_TOP)/idletrack.dll \ |
34d086c78a0d
[gaim-migrate @ 16234]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
12707
diff
changeset
|
38 $(LIBXML2_DIR)/bin/libxml2.dll |
3630 | 39 |
10201
5e1ca11db043
[gaim-migrate @ 11319]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
10185
diff
changeset
|
40 SOUNDS = $(GAIM_SOUNDS)/alert.wav \ |
10185 | 41 $(GAIM_SOUNDS)/login.wav \ |
42 $(GAIM_SOUNDS)/logout.wav \ | |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
43 $(GAIM_SOUNDS)/receive.wav \ |
10185 | 44 $(GAIM_SOUNDS)/send.wav |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
45 |
3630 | 46 |
47 ## | |
8615 | 48 ## Don't forget to change STATIC_PROTO_INIT, in config.h.mingw if you |
3630 | 49 ## change the status of a protocol (static/plugin) |
50 ## | |
51 | |
52 OSCAR_TYPE = PLUGIN | |
53 YAHOO_TYPE = PLUGIN | |
54 MSN_TYPE = PLUGIN | |
55 TOC_TYPE = PLUGIN | |
56 IRC_TYPE = PLUGIN | |
57 JABBER_TYPE = PLUGIN | |
58 NAPSTER_TYPE = PLUGIN | |
59 GG_TYPE = PLUGIN | |
8675 | 60 NOVELL_TYPE = PLUGIN |
10201
5e1ca11db043
[gaim-migrate @ 11319]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
10185
diff
changeset
|
61 SILC_TYPE = PLUGIN |
11578
8b955ffe9584
[gaim-migrate @ 13847]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11090
diff
changeset
|
62 SIMPLE_TYPE = PLUGIN |
11090
af2a4d5b9afe
[gaim-migrate @ 13111]
Gary Kramlich <grim@reaperworld.com>
parents:
10804
diff
changeset
|
63 SAMETIME_TYPE = PLUGIN |
3630 | 64 |
65 all: | |
66 cp config.h.mingw config.h | |
67 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw | |
68 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw | |
69 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw | |
70 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw | |
71 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw | |
9570
24f84b7ffe8e
[gaim-migrate @ 10413]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
9565
diff
changeset
|
72 $(MAKE) TYPE='$(NAPSTER_TYPE)' -C $(NAPSTER) -f Makefile.mingw |
3630 | 73 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw |
8675 | 74 $(MAKE) TYPE='$(NOVELL_TYPE)' -C $(NOVELL) -f Makefile.mingw |
10201
5e1ca11db043
[gaim-migrate @ 11319]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
10185
diff
changeset
|
75 $(MAKE) TYPE='$(SILC_TYPE)' -C $(SILC) -f Makefile.mingw |
11578
8b955ffe9584
[gaim-migrate @ 13847]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11090
diff
changeset
|
76 $(MAKE) TYPE='$(SIMPLE_TYPE)' -C $(SIMPLE) -f Makefile.mingw |
12707
0438f853fc89
[gaim-migrate @ 15050]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
12506
diff
changeset
|
77 $(MAKE) TYPE='$(SAMETIME_TYPE)' -C $(SAMETIME) -f Makefile.mingw |
4373
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
78 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw |
3630 | 79 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw |
80 | |
81 | |
82 install: all | |
83 mkdir -p $(GAIM_INSTALL_DIR)/plugins | |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
84 mkdir -p $(GAIM_INSTALL_DIR)/sounds/gaim |
4319
13f41fc1fa8f
[gaim-migrate @ 4574]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4060
diff
changeset
|
85 $(MAKE) -C $(GAIM_PIXMAPS) -f Makefile.mingw install |
3630 | 86 $(MAKE) -C $(PO) -f Makefile.mingw install |
87 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw install | |
88 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw install | |
89 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw install | |
90 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw install | |
91 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw install | |
92 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw install | |
93 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw install | |
9570
24f84b7ffe8e
[gaim-migrate @ 10413]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
9565
diff
changeset
|
94 $(MAKE) TYPE='$(NAPSTER_TYPE)' -C $(NAPSTER) -f Makefile.mingw install |
3630 | 95 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw install |
8675 | 96 $(MAKE) TYPE='$(NOVELL_TYPE)' -C $(NOVELL) -f Makefile.mingw install |
10201
5e1ca11db043
[gaim-migrate @ 11319]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
10185
diff
changeset
|
97 $(MAKE) TYPE='$(SILC_TYPE)' -C $(SILC) -f Makefile.mingw install |
11578
8b955ffe9584
[gaim-migrate @ 13847]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11090
diff
changeset
|
98 $(MAKE) TYPE='$(SIMPLE_TYPE)' -C $(SIMPLE) -f Makefile.mingw install |
12707
0438f853fc89
[gaim-migrate @ 15050]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
12506
diff
changeset
|
99 $(MAKE) TYPE='$(SAMETIME_TYPE)' -C $(SAMETIME) -f Makefile.mingw install |
3630 | 100 cp $(NEEDED_DLLS) $(GAIM_INSTALL_DIR) |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
101 cp $(SOUNDS) $(GAIM_INSTALL_DIR)/sounds/gaim |
3630 | 102 |
103 installer: | |
10804 | 104 $(MAKENSIS) /DGAIM_VERSION="$(VERSION)" /DWITH_GTK gaim-installer.nsi |
5384
0b544518a365
[gaim-migrate @ 5760]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4897
diff
changeset
|
105 |
0b544518a365
[gaim-migrate @ 5760]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4897
diff
changeset
|
106 installer_nogtk: |
10804 | 107 $(MAKENSIS) /DGAIM_VERSION="$(VERSION)" gaim-installer.nsi |
3630 | 108 |
5931
8b5dd7117f56
[gaim-migrate @ 6371]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5387
diff
changeset
|
109 installer_debug: |
10804 | 110 $(MAKENSIS) /DGAIM_VERSION="$(VERSION)" /DDEBUG gaim-installer.nsi |
5931
8b5dd7117f56
[gaim-migrate @ 6371]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5387
diff
changeset
|
111 |
5384
0b544518a365
[gaim-migrate @ 5760]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4897
diff
changeset
|
112 installers: installer installer_nogtk |
0b544518a365
[gaim-migrate @ 5760]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4897
diff
changeset
|
113 |
5931
8b5dd7117f56
[gaim-migrate @ 6371]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5387
diff
changeset
|
114 |
3630 | 115 clean: |
116 $(MAKE) -C $(PO) -f Makefile.mingw clean | |
117 $(MAKE) -C $(OSCAR) -f Makefile.mingw clean | |
118 $(MAKE) -C $(YAHOO) -f Makefile.mingw clean | |
119 $(MAKE) -C $(MSN) -f Makefile.mingw clean | |
120 $(MAKE) -C $(IRC) -f Makefile.mingw clean | |
121 $(MAKE) -C $(JABBER) -f Makefile.mingw clean | |
9570
24f84b7ffe8e
[gaim-migrate @ 10413]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
9565
diff
changeset
|
122 $(MAKE) -C $(NAPSTER) -f Makefile.mingw clean |
3630 | 123 $(MAKE) -C $(GG) -f Makefile.mingw clean |
8675 | 124 $(MAKE) -C $(NOVELL) -f Makefile.mingw clean |
10201
5e1ca11db043
[gaim-migrate @ 11319]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
10185
diff
changeset
|
125 $(MAKE) -C $(SILC) -f Makefile.mingw clean |
11578
8b955ffe9584
[gaim-migrate @ 13847]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11090
diff
changeset
|
126 $(MAKE) -C $(SIMPLE) -f Makefile.mingw clean |
11090
af2a4d5b9afe
[gaim-migrate @ 13111]
Gary Kramlich <grim@reaperworld.com>
parents:
10804
diff
changeset
|
127 $(MAKE) -C $(SAMETIME) -f Makefile.mingw clean |
3630 | 128 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw clean |
129 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw clean | |
130 rm -rf config.h $(GAIM_INSTALL_DIR) | |
3898
34292bf25e4d
[gaim-migrate @ 4050]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3896
diff
changeset
|
131 rm -rf gaim*.exe |