annotate Makefile.mingw @ 7735:edebf99a5ec4

[gaim-migrate @ 8380] WYSIWYGation of the smileys. These will only WYSIWYG when you use the select smiley dialog, although with the smiley tree being so perfect for something like lookup smiley while you search, we could easily auto-replace smileys. But then we would have to worry about stuff like :) and :)) being different. I'm going to leave it this way for now. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 04 Dec 2003 05:06:59 +0000
parents c92dbccd7448
children f26e7dc1805e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
1 # Makefile.mingw
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
2 #
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
3 # Author: hermanator12002@yahoo.com
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
4 # Date 9/11/02
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
5 # Description: Top Makefile for win32 (mingw) port of Gaim
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
6 #
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
7
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
8 GAIM_SRC = ./src
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
9 GAIM_PROTOS = $(GAIM_SRC)/protocols
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
10 GAIM_PLUGINS = ./plugins
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
11 GAIM_PIXMAPS = ./pixmaps
4017
4cf1d0ff9f5f [gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3967
diff changeset
12 GAIM_SOUNDS = ./sounds
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
13 GAIM_INSTALL_DIR = ./win32-install-dir
4863
ee46d3875cc8 [gaim-migrate @ 5190]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4537
diff changeset
14 GTKSPELL_TOP = ../win32-dev/gtkspell-2.0.4/gtkspell
4537
741a18f2fb23 [gaim-migrate @ 4816]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4373
diff changeset
15 IDLETRACK_TOP = $(GAIM_SRC)/win32/IdleTracker
3920
1b3beae6c59c [gaim-migrate @ 4085]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3905
diff changeset
16 GTKRC_TOP = ../win32-dev/gtkrc
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
17 OSCAR = $(GAIM_PROTOS)/oscar
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
18 YAHOO = $(GAIM_PROTOS)/yahoo
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
19 MSN = $(GAIM_PROTOS)/msn
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
20 TOC = $(GAIM_PROTOS)/toc
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
21 IRC = $(GAIM_PROTOS)/irc
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
22 JABBER = $(GAIM_PROTOS)/jabber
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
23 NAPSTER = $(GAIM_PROTOS)/napster
6103
ee4858c41a18 [gaim-migrate @ 6564]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 5931
diff changeset
24 TREPIA = $(GAIM_PROTOS)/trepia
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
25 GG = $(GAIM_PROTOS)/gg
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
26 PO = ./po
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
27
3967
cafc0968ea6b [gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3963
diff changeset
28 VERSION := $(shell cat ./VERSION)
cafc0968ea6b [gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3963
diff changeset
29
6816
5aeba37b303c [gaim-migrate @ 7356]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6795
diff changeset
30 NEEDED_DLLS = $(GTKSPELL_TOP)/libgtkspell.dll \
7056
c92dbccd7448 [gaim-migrate @ 7619]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6816
diff changeset
31 $(IDLETRACK_TOP)/idletrack.dll
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
32
4017
4cf1d0ff9f5f [gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3967
diff changeset
33 SOUNDS = $(GAIM_SOUNDS)/leave.wav \
4cf1d0ff9f5f [gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3967
diff changeset
34 $(GAIM_SOUNDS)/redalert.wav \
4cf1d0ff9f5f [gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3967
diff changeset
35 $(GAIM_SOUNDS)/receive.wav \
4cf1d0ff9f5f [gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3967
diff changeset
36 $(GAIM_SOUNDS)/send.wav \
4cf1d0ff9f5f [gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3967
diff changeset
37 $(GAIM_SOUNDS)/arrive.wav
4cf1d0ff9f5f [gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3967
diff changeset
38
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
39
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
40 ##
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
41 ## Don't forget to change STATIC_PROTO_INIT, in config.h.mingw if you
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
42 ## change the status of a protocol (static/plugin)
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
43 ##
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
44
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
45 OSCAR_TYPE = PLUGIN
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
46 YAHOO_TYPE = PLUGIN
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
47 MSN_TYPE = PLUGIN
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
48 TOC_TYPE = PLUGIN
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
49 IRC_TYPE = PLUGIN
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
50 JABBER_TYPE = PLUGIN
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
51 NAPSTER_TYPE = PLUGIN
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
52 GG_TYPE = PLUGIN
6103
ee4858c41a18 [gaim-migrate @ 6564]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 5931
diff changeset
53 TREPIA_TYPE = PLUGIN
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
54
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
55 all:
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
56 cp config.h.mingw config.h
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
57 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
58 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
59 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
60 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
61 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
62 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
63 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw
4373
dcc6c130c6d9 [gaim-migrate @ 4639]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4363
diff changeset
64 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
65 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
66
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
67
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
68 install: all
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
69 mkdir -p $(GAIM_INSTALL_DIR)/plugins
4017
4cf1d0ff9f5f [gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3967
diff changeset
70 mkdir -p $(GAIM_INSTALL_DIR)/sounds/gaim
4319
13f41fc1fa8f [gaim-migrate @ 4574]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4060
diff changeset
71 $(MAKE) -C $(GAIM_PIXMAPS) -f Makefile.mingw install
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
72 $(MAKE) -C $(PO) -f Makefile.mingw install
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
73 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw install
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
74 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw install
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
75 $(MAKE) TYPE='$(OSCAR_TYPE)' -C $(OSCAR) -f Makefile.mingw install
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
76 $(MAKE) TYPE='$(YAHOO_TYPE)' -C $(YAHOO) -f Makefile.mingw install
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
77 $(MAKE) TYPE='$(MSN_TYPE)' -C $(MSN) -f Makefile.mingw install
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
78 $(MAKE) TYPE='$(TOC_TYPE)' -C $(TOC) -f Makefile.mingw install
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
79 $(MAKE) TYPE='$(IRC_TYPE)' -C $(IRC) -f Makefile.mingw install
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
80 $(MAKE) TYPE='$(JABBER_TYPE)' -C $(JABBER) -f Makefile.mingw install
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
81 $(MAKE) TYPE='$(GG_TYPE)' -C $(GG) -f Makefile.mingw install
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
82 cp $(NEEDED_DLLS) $(GAIM_INSTALL_DIR)
4017
4cf1d0ff9f5f [gaim-migrate @ 4217]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3967
diff changeset
83 cp $(SOUNDS) $(GAIM_INSTALL_DIR)/sounds/gaim
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
84
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
85 installer:
5384
0b544518a365 [gaim-migrate @ 5760]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4897
diff changeset
86 makensis.exe /DGAIM_VERSION="$(VERSION)" /DWITH_GTK gaim-installer.nsi
0b544518a365 [gaim-migrate @ 5760]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4897
diff changeset
87
0b544518a365 [gaim-migrate @ 5760]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4897
diff changeset
88 installer_nogtk:
3967
cafc0968ea6b [gaim-migrate @ 4151]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3963
diff changeset
89 makensis.exe /DGAIM_VERSION="$(VERSION)" gaim-installer.nsi
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
90
5931
8b5dd7117f56 [gaim-migrate @ 6371]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 5387
diff changeset
91 installer_debug:
8b5dd7117f56 [gaim-migrate @ 6371]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 5387
diff changeset
92 makensis.exe /DGAIM_VERSION="$(VERSION)" /DDEBUG gaim-installer.nsi
8b5dd7117f56 [gaim-migrate @ 6371]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 5387
diff changeset
93
5384
0b544518a365 [gaim-migrate @ 5760]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4897
diff changeset
94 installers: installer installer_nogtk
0b544518a365 [gaim-migrate @ 5760]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4897
diff changeset
95
5931
8b5dd7117f56 [gaim-migrate @ 6371]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 5387
diff changeset
96
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
97 clean:
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
98 $(MAKE) -C $(PO) -f Makefile.mingw clean
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
99 $(MAKE) -C $(OSCAR) -f Makefile.mingw clean
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
100 $(MAKE) -C $(YAHOO) -f Makefile.mingw clean
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
101 $(MAKE) -C $(MSN) -f Makefile.mingw clean
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
102 $(MAKE) -C $(TOC) -f Makefile.mingw clean
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
103 $(MAKE) -C $(IRC) -f Makefile.mingw clean
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
104 $(MAKE) -C $(JABBER) -f Makefile.mingw clean
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
105 $(MAKE) -C $(GG) -f Makefile.mingw clean
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
106 $(MAKE) -C $(GAIM_SRC) -f Makefile.mingw clean
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
107 $(MAKE) -C $(GAIM_PLUGINS) -f Makefile.mingw clean
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
108 rm -rf config.h $(GAIM_INSTALL_DIR)
3898
34292bf25e4d [gaim-migrate @ 4050]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3896
diff changeset
109 rm -rf gaim*.exe