Mercurial > pidgin
annotate libpurple/win32/global.mak @ 31373:6c660dc7cb6a
Moved the conversation attributes API and the IRC periodic WHO updates to i.p.p.next.minor, where they belong.
applied changes from 3de680fff7ddd1b00149657afb7f6cd833000a90
through 7ee5e1d431651ed2b1a54bc942d63f35580af55c
applied changes from e7c103fdfbc59bb2ca41a3c8813c4ff2847a673f
through 22937ab220c41cd0c4a3f9e21e3db687db80da75
applied changes from 22937ab220c41cd0c4a3f9e21e3db687db80da75
through cba010d1c097d4e6599f08276ed9d894710c1074
applied changes from a694289accbec14c593b3636ef1f626fd8279805
through 8a43e3ddd7adacb208afe2d7ee3ea983c95901be
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Mon, 21 Feb 2011 23:08:47 +0000 |
parents | 80affba7ea0d |
children | 200a6032d8ec |
rev | line source |
---|---|
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1 # |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
2 # global.mak |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
3 # |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
4 # This file should be included by all Makefile.mingw files for project |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
5 # wide definitions (after correctly defining PIDGIN_TREE_TOP). |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
6 # |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
7 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
8 #include optional $(PIDGIN_TREE_TOP)/local.mak to allow overriding of any definitions |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
9 -include $(PIDGIN_TREE_TOP)/local.mak |
15456
f217a2d656c8
Add support for win32 makefile variable overriding using a "local.mak" file in the build root directory. This makes maintaining a custom build environment or cross-compiling easier.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15376
diff
changeset
|
10 |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
11 # Locations of our various dependencies |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
12 WIN32_DEV_TOP ?= $(PIDGIN_TREE_TOP)/../win32-dev |
29522
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29509
diff
changeset
|
13 GTKSPELL_TOP ?= $(WIN32_DEV_TOP)/gtkspell-2.0.16 |
b248178bc7b0
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29509
diff
changeset
|
14 ENCHANT_TOP ?= $(WIN32_DEV_TOP)/enchant_1.5.0-2_win32 |
29401
bc2760c74a79
Fix win32 build
Daniel Atallah <daniel.atallah@gmail.com>
parents:
28472
diff
changeset
|
15 GTK_TOP ?= $(WIN32_DEV_TOP)/gtk_2_0-2.14 |
15456
f217a2d656c8
Add support for win32 makefile variable overriding using a "local.mak" file in the build root directory. This makes maintaining a custom build environment or cross-compiling easier.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15376
diff
changeset
|
16 GTK_BIN ?= $(GTK_TOP)/bin |
17496
b87114cdd6ae
More minor changes related to bonjour on win32.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16594
diff
changeset
|
17 BONJOUR_TOP ?= $(WIN32_DEV_TOP)/Bonjour_SDK |
29485
2071b92780e5
Use libxml2-2.7.4
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29404
diff
changeset
|
18 LIBXML2_TOP ?= $(WIN32_DEV_TOP)/libxml2-2.7.4 |
24672
4ba44bf066e3
Updated included win32 meanwhile library to fix #7563
Daniel Atallah <daniel.atallah@gmail.com>
parents:
24670
diff
changeset
|
19 MEANWHILE_TOP ?= $(WIN32_DEV_TOP)/meanwhile-1.0.2_daa2 |
29509
996eb83a1162
Update NSS/NSPR to 3.12.5/4.8.2 (self-built). Big thanks goes to Berke Viktor for doing this.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29505
diff
changeset
|
20 NSS_TOP ?= $(WIN32_DEV_TOP)/nss-3.12.5-nspr-4.8.2 |
23603
ab5b9acebde3
Update the Perl plugin loader to work with Perl 5.10.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
23336
diff
changeset
|
21 PERL_LIB_TOP ?= $(WIN32_DEV_TOP)/perl-5.10.0 |
24670
2d9871e73000
Update SILC Toolkit used on win32 to 1.1.8
Daniel Atallah <daniel.atallah@gmail.com>
parents:
23621
diff
changeset
|
22 SILC_TOOLKIT ?= $(WIN32_DEV_TOP)/silc-toolkit-1.1.8 |
15456
f217a2d656c8
Add support for win32 makefile variable overriding using a "local.mak" file in the build root directory. This makes maintaining a custom build environment or cross-compiling easier.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15376
diff
changeset
|
23 TCL_LIB_TOP ?= $(WIN32_DEV_TOP)/tcl-8.4.5 |
20348
44842d3f49ce
applied changes from 8548e491a5b470d5665cb1cf87a7b0caaa3c87a5
Luke Schierer <lschiere@pidgin.im>
parents:
19523
diff
changeset
|
24 GSTREAMER_TOP ?= $(WIN32_DEV_TOP)/gstreamer-0.10.13 |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
25 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
26 # Where we installing this stuff to? |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
27 PIDGIN_INSTALL_DIR := $(PIDGIN_TREE_TOP)/win32-install-dir |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
28 PURPLE_INSTALL_DIR := $(PIDGIN_TREE_TOP)/win32-install-dir |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
29 PIDGIN_INSTALL_PLUGINS_DIR := $(PIDGIN_INSTALL_DIR)/plugins |
27407
b74fa3d29cda
Modify the Windows build/install setup to deal with the perl modules the way
Etan Reisner <pidgin@unreliablesource.net>
parents:
26873
diff
changeset
|
30 PIDGIN_INSTALL_PERL_DIR := $(PIDGIN_INSTALL_PLUGINS_DIR)/perl |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
31 PURPLE_INSTALL_PLUGINS_DIR := $(PURPLE_INSTALL_DIR)/plugins |
27407
b74fa3d29cda
Modify the Windows build/install setup to deal with the perl modules the way
Etan Reisner <pidgin@unreliablesource.net>
parents:
26873
diff
changeset
|
32 PURPLE_INSTALL_PERL_DIR := $(PURPLE_INSTALL_PLUGINS_DIR)/perl |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
33 PURPLE_INSTALL_PO_DIR := $(PURPLE_INSTALL_DIR)/locale |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
34 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
35 # Important (enough) locations in our source code |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
36 PURPLE_TOP := $(PIDGIN_TREE_TOP)/libpurple |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
37 PURPLE_PLUGINS_TOP := $(PURPLE_TOP)/plugins |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
38 PURPLE_PERL_TOP := $(PURPLE_PLUGINS_TOP)/perl |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
39 PIDGIN_TOP := $(PIDGIN_TREE_TOP)/pidgin |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
40 PIDGIN_PIXMAPS_TOP := $(PIDGIN_TOP)/pixmaps |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
41 PIDGIN_PLUGINS_TOP := $(PIDGIN_TOP)/plugins |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
42 PURPLE_PO_TOP := $(PIDGIN_TREE_TOP)/po |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
43 PURPLE_PROTOS_TOP := $(PURPLE_TOP)/protocols |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
44 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
45 # Locations of important (in-tree) build targets |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
46 PIDGIN_CONFIG_H := $(PIDGIN_TREE_TOP)/config.h |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
47 PURPLE_CONFIG_H := $(PIDGIN_TREE_TOP)/config.h |
27706
bd3cf895e19a
Fix windows build by adding the necessary bits to define the MTN revision
Stu Tomlinson <stu@nosnilmot.com>
parents:
27407
diff
changeset
|
48 PIDGIN_REVISION_H := $(PIDGIN_TREE_TOP)/package_revision.h |
bd3cf895e19a
Fix windows build by adding the necessary bits to define the MTN revision
Stu Tomlinson <stu@nosnilmot.com>
parents:
27407
diff
changeset
|
49 PIDGIN_REVISION_RAW_TXT := $(PIDGIN_TREE_TOP)/package_revision_raw.txt |
21297
5b1acbab99cf
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
21045
diff
changeset
|
50 PURPLE_PURPLE_H := $(PURPLE_TOP)/purple.h |
16594
56c61eb40850
Fix version.h generation on mingw build.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
16583
diff
changeset
|
51 PURPLE_VERSION_H := $(PURPLE_TOP)/version.h |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
52 PURPLE_DLL := $(PURPLE_TOP)/libpurple.dll |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
53 PURPLE_PERL_DLL := $(PURPLE_PERL_TOP)/perl.dll |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
54 PIDGIN_DLL := $(PIDGIN_TOP)/pidgin.dll |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
55 PIDGIN_EXE := $(PIDGIN_TOP)/pidgin.exe |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
56 PIDGIN_PORTABLE_EXE := $(PIDGIN_TOP)/pidgin-portable.exe |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
57 |
23603
ab5b9acebde3
Update the Perl plugin loader to work with Perl 5.10.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
23336
diff
changeset
|
58 GCCWARNINGS ?= -Waggregate-return -Wcast-align -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wextra -Wno-sign-compare -Wno-unused-parameter -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
59 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
60 # parse the version number from the configure.ac file if it is newer |
16583
ce049678a67b
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <stu@nosnilmot.com>
parents:
16039
diff
changeset
|
61 #m4_define([purple_major_version], [2]) |
ce049678a67b
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <stu@nosnilmot.com>
parents:
16039
diff
changeset
|
62 #m4_define([purple_minor_version], [0]) |
ce049678a67b
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <stu@nosnilmot.com>
parents:
16039
diff
changeset
|
63 #m4_define([purple_micro_version], [0]) |
ce049678a67b
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <stu@nosnilmot.com>
parents:
16039
diff
changeset
|
64 #m4_define([purple_version_suffix], [devel]) |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
65 PIDGIN_VERSION := $(shell \ |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
66 if [ ! $(PIDGIN_TREE_TOP)/VERSION -nt $(PIDGIN_TREE_TOP)/configure.ac ]; then \ |
16583
ce049678a67b
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <stu@nosnilmot.com>
parents:
16039
diff
changeset
|
67 awk 'BEGIN {FS="[\\(\\)\\[\\]]"} /^m4_define..purple_(major|minor)_version/ {printf("%s.",$$5);} /^m4_define..purple_micro_version/ {printf("%s",$$5);} /^m4_define..purple_version_suffix/ {printf("%s",$$5); exit}' \ |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
68 $(PIDGIN_TREE_TOP)/configure.ac > $(PIDGIN_TREE_TOP)/VERSION; \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
69 fi; \ |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
70 cat $(PIDGIN_TREE_TOP)/VERSION \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
71 ) |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
72 PURPLE_VERSION := $(PIDGIN_VERSION) |
21298
008cfc009d0e
Allow win32 builds to define EXTRAVERSION in local.mak to do the equivalent
Stu Tomlinson <stu@nosnilmot.com>
parents:
21297
diff
changeset
|
73 ifdef EXTRAVERSION |
008cfc009d0e
Allow win32 builds to define EXTRAVERSION in local.mak to do the equivalent
Stu Tomlinson <stu@nosnilmot.com>
parents:
21297
diff
changeset
|
74 DISPLAY_VERSION := $(PIDGIN_VERSION)-$(EXTRAVERSION) |
008cfc009d0e
Allow win32 builds to define EXTRAVERSION in local.mak to do the equivalent
Stu Tomlinson <stu@nosnilmot.com>
parents:
21297
diff
changeset
|
75 else |
008cfc009d0e
Allow win32 builds to define EXTRAVERSION in local.mak to do the equivalent
Stu Tomlinson <stu@nosnilmot.com>
parents:
21297
diff
changeset
|
76 DISPLAY_VERSION := $(PIDGIN_VERSION) |
008cfc009d0e
Allow win32 builds to define EXTRAVERSION in local.mak to do the equivalent
Stu Tomlinson <stu@nosnilmot.com>
parents:
21297
diff
changeset
|
77 endif |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
78 |
22381
f56fb7858ecb
Enable SASL support for xmpp in the win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
22380
diff
changeset
|
79 CYRUS_SASL ?= 1 |
f56fb7858ecb
Enable SASL support for xmpp in the win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
22380
diff
changeset
|
80 |
22396
801116601a7b
Avoid saying "Cyrus SASL: Disabled" in the About box on Win32 when it's not true!
Kevin Stange <kevin@simguy.net>
parents:
22381
diff
changeset
|
81 ifeq ($(CYRUS_SASL), 1) |
801116601a7b
Avoid saying "Cyrus SASL: Disabled" in the About box on Win32 when it's not true!
Kevin Stange <kevin@simguy.net>
parents:
22381
diff
changeset
|
82 DEFINES += -DHAVE_CYRUS_SASL |
801116601a7b
Avoid saying "Cyrus SASL: Disabled" in the About box on Win32 when it's not true!
Kevin Stange <kevin@simguy.net>
parents:
22381
diff
changeset
|
83 endif |
801116601a7b
Avoid saying "Cyrus SASL: Disabled" in the About box on Win32 when it's not true!
Kevin Stange <kevin@simguy.net>
parents:
22381
diff
changeset
|
84 |
28472
7e400b0c6397
Define WIN32_LEAN_AND_MEAN where possible during the compile to hopefully speed it up.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
27706
diff
changeset
|
85 DEFINES += -DHAVE_CONFIG_H -DWIN32_LEAN_AND_MEAN |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
86 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
87 # Use -g flag when building debug version of Pidgin (including plugins). |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
88 # Use -fnative-struct instead of -mms-bitfields when using mingw 1.1 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
89 # (gcc 2.95) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
90 CFLAGS += -O2 -Wall $(GCCWARNINGS) -pipe -mno-cygwin -mms-bitfields -g |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
91 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
92 # If not specified, dlls are built with the default base address of 0x10000000. |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
93 # When loaded into a process address space a dll will be rebased if its base |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
94 # address colides with the base address of an existing dll. To avoid rebasing |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
95 # we do the following. Rebasing can slow down the load time of dlls and it |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
96 # also renders debug info useless. |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
97 DLL_LD_FLAGS += -Wl,--enable-auto-image-base |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
98 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
99 # Build programs |
15456
f217a2d656c8
Add support for win32 makefile variable overriding using a "local.mak" file in the build root directory. This makes maintaining a custom build environment or cross-compiling easier.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15376
diff
changeset
|
100 ifeq "$(origin CC)" "default" |
f217a2d656c8
Add support for win32 makefile variable overriding using a "local.mak" file in the build root directory. This makes maintaining a custom build environment or cross-compiling easier.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15376
diff
changeset
|
101 CC := gcc.exe |
f217a2d656c8
Add support for win32 makefile variable overriding using a "local.mak" file in the build root directory. This makes maintaining a custom build environment or cross-compiling easier.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15376
diff
changeset
|
102 endif |
29505
c9a5b4ddff87
Use standalone gettext
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29485
diff
changeset
|
103 GMSGFMT ?= $(WIN32_DEV_TOP)/gettext-0.17/bin/msgfmt |
15456
f217a2d656c8
Add support for win32 makefile variable overriding using a "local.mak" file in the build root directory. This makes maintaining a custom build environment or cross-compiling easier.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15376
diff
changeset
|
104 MAKENSIS ?= makensis.exe |
26873
727d960a75a4
Make the makensis option prefix configurable, so cross-compiling from Linux
Stu Tomlinson <stu@nosnilmot.com>
parents:
24672
diff
changeset
|
105 MAKENSISOPT ?= / |
29585
63ef8a27aee5
Use Perl in the system Path instead of a hard-coded cygwin-specific path
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29522
diff
changeset
|
106 PERL ?= perl |
15456
f217a2d656c8
Add support for win32 makefile variable overriding using a "local.mak" file in the build root directory. This makes maintaining a custom build environment or cross-compiling easier.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15376
diff
changeset
|
107 WINDRES ?= windres |
15470
015ad1283216
Some more changes to the win32 build to support cross-compiling.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15456
diff
changeset
|
108 STRIP ?= strip |
29976
62f0988c666c
Final piece of getting the installer translations integrated with the regular
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29585
diff
changeset
|
109 INTLTOOL_MERGE ?= $(WIN32_DEV_TOP)/intltool_0.40.4-1_win32/bin/intltool-merge |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
110 |
16039
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
111 PIDGIN_COMMON_RULES := $(PURPLE_TOP)/win32/rules.mak |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
112 PIDGIN_COMMON_TARGETS := $(PURPLE_TOP)/win32/targets.mak |
ded8da3de5f8
This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents:
15470
diff
changeset
|
113 MINGW_MAKEFILE := Makefile.mingw |
22606
8b952cb84f45
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
22396
diff
changeset
|
114 |
8b952cb84f45
Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
22396
diff
changeset
|
115 INSTALL_PIXMAPS ?= 1 |
23336
dd21962a8a1d
re-Fix win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
22606
diff
changeset
|
116 INSTALL_SSL_CERTIFICATES ?= 1 |