Mercurial > pidgin.yaz
annotate Makefile.mingw @ 6813:a5d579a4feef
[gaim-migrate @ 7353]
Added the new MSN 6 smileys to Makefile.am.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 12 Sep 2003 05:26:20 +0000 |
parents | 40ba19133882 |
children | 5aeba37b303c |
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 PERL_TOP = ../win32-dev/perl56 | |
4863
ee46d3875cc8
[gaim-migrate @ 5190]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4537
diff
changeset
|
15 GTKSPELL_TOP = ../win32-dev/gtkspell-2.0.4/gtkspell |
6795
40ba19133882
[gaim-migrate @ 7334]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6200
diff
changeset
|
16 NSS_TOP = ../win32-dev/nss-3.8 |
40ba19133882
[gaim-migrate @ 7334]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6200
diff
changeset
|
17 NSPR_TOP = ../win32-dev/nspr-4.3 |
4537
741a18f2fb23
[gaim-migrate @ 4816]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4373
diff
changeset
|
18 IDLETRACK_TOP = $(GAIM_SRC)/win32/IdleTracker |
3920
1b3beae6c59c
[gaim-migrate @ 4085]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3905
diff
changeset
|
19 GTKRC_TOP = ../win32-dev/gtkrc |
3630 | 20 OSCAR = $(GAIM_PROTOS)/oscar |
21 YAHOO = $(GAIM_PROTOS)/yahoo | |
22 MSN = $(GAIM_PROTOS)/msn | |
23 TOC = $(GAIM_PROTOS)/toc | |
24 IRC = $(GAIM_PROTOS)/irc | |
25 JABBER = $(GAIM_PROTOS)/jabber | |
26 NAPSTER = $(GAIM_PROTOS)/napster | |
6103
ee4858c41a18
[gaim-migrate @ 6564]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5931
diff
changeset
|
27 TREPIA = $(GAIM_PROTOS)/trepia |
3630 | 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 |
4897
65a0a360e8c4
[gaim-migrate @ 5229]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4863
diff
changeset
|
33 NEEDED_DLLS = $(PERL_TOP)/perl56.dll \ |
4863
ee46d3875cc8
[gaim-migrate @ 5190]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4537
diff
changeset
|
34 $(GTKSPELL_TOP)/libgtkspell.dll \ |
6795
40ba19133882
[gaim-migrate @ 7334]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6200
diff
changeset
|
35 $(IDLETRACK_TOP)/idletrack.dll \ |
40ba19133882
[gaim-migrate @ 7334]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6200
diff
changeset
|
36 $(NSS_TOP)/lib/nss3.dll \ |
40ba19133882
[gaim-migrate @ 7334]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6200
diff
changeset
|
37 $(NSS_TOP)/lib/nssckbi.dll \ |
40ba19133882
[gaim-migrate @ 7334]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6200
diff
changeset
|
38 $(NSS_TOP)/lib/softokn3.dll \ |
40ba19133882
[gaim-migrate @ 7334]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6200
diff
changeset
|
39 $(NSS_TOP)/lib/ssl3.dll \ |
40ba19133882
[gaim-migrate @ 7334]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6200
diff
changeset
|
40 $(NSPR_TOP)/lib/nspr4.dll \ |
40ba19133882
[gaim-migrate @ 7334]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6200
diff
changeset
|
41 $(NSPR_TOP)/lib/plc4.dll \ |
40ba19133882
[gaim-migrate @ 7334]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6200
diff
changeset
|
42 $(NSPR_TOP)/lib/plds4.dll |
3630 | 43 |
44 | |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
45 SOUNDS = $(GAIM_SOUNDS)/leave.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
46 $(GAIM_SOUNDS)/redalert.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
47 $(GAIM_SOUNDS)/receive.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
48 $(GAIM_SOUNDS)/send.wav \ |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
49 $(GAIM_SOUNDS)/arrive.wav |
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
50 |
3630 | 51 |
52 ## | |
53 ## Don't forget to change STATIC_PROTO_INIT, in config.h.mingw if you | |
54 ## change the status of a protocol (static/plugin) | |
55 ## | |
56 | |
57 OSCAR_TYPE = PLUGIN | |
58 YAHOO_TYPE = PLUGIN | |
59 MSN_TYPE = PLUGIN | |
60 TOC_TYPE = PLUGIN | |
61 IRC_TYPE = PLUGIN | |
62 JABBER_TYPE = PLUGIN | |
63 NAPSTER_TYPE = PLUGIN | |
64 GG_TYPE = PLUGIN | |
6103
ee4858c41a18
[gaim-migrate @ 6564]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5931
diff
changeset
|
65 TREPIA_TYPE = PLUGIN |
3630 | 66 |
67 all: | |
68 cp config.h.mingw config.h | |
69 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw | |
70 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw | |
71 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw | |
72 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw | |
73 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw | |
74 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw | |
75 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw | |
4373
dcc6c130c6d9
[gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
76 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw |
3630 | 77 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw |
78 | |
79 | |
80 install: all | |
81 mkdir -p $(GAIM_INSTALL_DIR)/plugins | |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
82 mkdir -p $(GAIM_INSTALL_DIR)/sounds/gaim |
4319
13f41fc1fa8f
[gaim-migrate @ 4574]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4060
diff
changeset
|
83 $(MAKE) -C $(GAIM_PIXMAPS) -f Makefile.mingw install |
3630 | 84 $(MAKE) -C $(PO) -f Makefile.mingw install |
85 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw install | |
86 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw install | |
87 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw install | |
88 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw install | |
89 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw install | |
90 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw install | |
91 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw install | |
92 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw install | |
93 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw install | |
94 cp $(NEEDED_DLLS) $(GAIM_INSTALL_DIR) | |
4017
4cf1d0ff9f5f
[gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3967
diff
changeset
|
95 cp $(SOUNDS) $(GAIM_INSTALL_DIR)/sounds/gaim |
3630 | 96 |
97 installer: | |
5384
0b544518a365
[gaim-migrate @ 5760]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4897
diff
changeset
|
98 makensis.exe /DGAIM_VERSION="$(VERSION)" /DWITH_GTK gaim-installer.nsi |
0b544518a365
[gaim-migrate @ 5760]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4897
diff
changeset
|
99 |
0b544518a365
[gaim-migrate @ 5760]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4897
diff
changeset
|
100 installer_nogtk: |
3967
cafc0968ea6b
[gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3963
diff
changeset
|
101 makensis.exe /DGAIM_VERSION="$(VERSION)" gaim-installer.nsi |
3630 | 102 |
5931
8b5dd7117f56
[gaim-migrate @ 6371]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5387
diff
changeset
|
103 installer_debug: |
8b5dd7117f56
[gaim-migrate @ 6371]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5387
diff
changeset
|
104 makensis.exe /DGAIM_VERSION="$(VERSION)" /DDEBUG gaim-installer.nsi |
8b5dd7117f56
[gaim-migrate @ 6371]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5387
diff
changeset
|
105 |
5384
0b544518a365
[gaim-migrate @ 5760]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4897
diff
changeset
|
106 installers: installer installer_nogtk |
0b544518a365
[gaim-migrate @ 5760]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4897
diff
changeset
|
107 |
5931
8b5dd7117f56
[gaim-migrate @ 6371]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5387
diff
changeset
|
108 |
3630 | 109 clean: |
110 $(MAKE) -C $(PO) -f Makefile.mingw clean | |
111 $(MAKE) -C $(OSCAR) -f Makefile.mingw clean | |
112 $(MAKE) -C $(YAHOO) -f Makefile.mingw clean | |
113 $(MAKE) -C $(MSN) -f Makefile.mingw clean | |
114 $(MAKE) -C $(TOC) -f Makefile.mingw clean | |
115 $(MAKE) -C $(IRC) -f Makefile.mingw clean | |
116 $(MAKE) -C $(JABBER) -f Makefile.mingw clean | |
117 $(MAKE) -C $(GG) -f Makefile.mingw clean | |
118 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw clean | |
119 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw clean | |
120 rm -rf config.h $(GAIM_INSTALL_DIR) | |
3898
34292bf25e4d
[gaim-migrate @ 4050]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3896
diff
changeset
|
121 rm -rf gaim*.exe |