annotate src/win32/global.mak @ 6631:f80e23e66de0

[gaim-migrate @ 7155] A patch from Bjoern Voigt that allows the languages in the about window to be i10ned. Bjoern, I was having some problems emailing you earlier. I just wanted to say that I've been rather busy and wasn't sure when I would be able to commit this. Thanks for the patch, it looks nice. I hand applied it because I'm a freak, and I think there may have been some other changes to that code since the patch was made. Anyhoo, you might just want to double check everything. Fixed some compile warnings: util.c: In function `_parse_font_tag': util.c:313: warning: suggest explicit braces to avoid ambiguous `else' util.c: In function `yahoo_html_to_codes': util.c:456: warning: unused variable `m' util.c:456: warning: unused variable `n' util.c:456: warning: unused variable `vstart' committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 26 Aug 2003 02:55:29 +0000
parents bb7723f0b4b9
children 59ffe137176d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3711
48f3c74c13e0 [gaim-migrate @ 3844]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
1 #
48f3c74c13e0 [gaim-migrate @ 3844]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
2 # global.mak
48f3c74c13e0 [gaim-migrate @ 3844]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
3 #
48f3c74c13e0 [gaim-migrate @ 3844]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
4 # This file should be included by all Makefile.mingw files for project
48f3c74c13e0 [gaim-migrate @ 3844]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
5 # wide definitions.
48f3c74c13e0 [gaim-migrate @ 3844]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
6 #
48f3c74c13e0 [gaim-migrate @ 3844]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
7
48f3c74c13e0 [gaim-migrate @ 3844]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
8 CC = gcc.exe
48f3c74c13e0 [gaim-migrate @ 3844]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
9
5932
bb7723f0b4b9 [gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4860
diff changeset
10 # Use -g flag when building debug version of Gaim (including plugins)
3855
38c95b5835f9 [gaim-migrate @ 4007]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 3711
diff changeset
11 CFLAGS += -O2 -Wall -mno-cygwin -fnative-struct
3711
48f3c74c13e0 [gaim-migrate @ 3844]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
12
5932
bb7723f0b4b9 [gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4860
diff changeset
13 # If not specified, dlls are built with the default base address of 0x10000000.
bb7723f0b4b9 [gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4860
diff changeset
14 # When loaded into a process address space a dll will be rebased if its base
bb7723f0b4b9 [gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4860
diff changeset
15 # address colides with the base address of an existing dll. To avoid rebasing
bb7723f0b4b9 [gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4860
diff changeset
16 # we do the following. Rebasing can slow down the load time of dlls and it
bb7723f0b4b9 [gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4860
diff changeset
17 # also renders debug info useless.
bb7723f0b4b9 [gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4860
diff changeset
18 DLL_LD_FLAGS += -Wl,--enable-auto-image-base
bb7723f0b4b9 [gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4860
diff changeset
19
3711
48f3c74c13e0 [gaim-migrate @ 3844]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
20 VERSION := $(shell cat $(GAIM_TOP)/VERSION)
48f3c74c13e0 [gaim-migrate @ 3844]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
21
4246
2a2d6d21f1d7 [gaim-migrate @ 4496]
Mark Doliner <mark@kingant.net>
parents: 3855
diff changeset
22 DEFINES += -DVERSION=\"$(VERSION)\" \
4860
e1b5619e6a02 [gaim-migrate @ 5187]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4246
diff changeset
23 -DHAVE_CONFIG_H