Thu, 04 Mar 2010 04:22:19 +0000
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
| 3630 | 1 | # Makefile.mingw |
| 8615 | 2 | # |
| 3630 | 3 | # Author: hermanator12002@yahoo.com |
| 4 | # Date 9/11/02 | |
|
25875
a98b16817658
Lots of minor whitespace and comment changes:
Mark Doliner <markdoliner@pidgin.im>
parents:
24229
diff
changeset
|
5 | # Description: Top Makefile for win32 (mingw) port of Pidgin and libpurple |
| 3630 | 6 | # |
| 7 | ||
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15805
diff
changeset
|
8 | PIDGIN_TREE_TOP := . |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15805
diff
changeset
|
9 | include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak |
|
10804
e51729c86312
[gaim-migrate @ 12452]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
10201
diff
changeset
|
10 | |
|
14516
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
11 | # Generate a X.X.X.X version for the installer file versioning header |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
12 | # The last digit will be 99 for a final release, 0 for dev or unknown, or the beta number |
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15643
diff
changeset
|
13 | PIDGIN_PRODUCT_VERSION = $(shell \ |
|
14516
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
14 | awk 'BEGIN {FS="."} { \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
15 | if (int($$3) == $$3) { \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
16 | $$4 = "99"; \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
17 | } else { \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
18 | $$5 = $$3; \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
19 | sub(int($$3), "", $$5); \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
20 | if ($$5 == "dev") { \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
21 | $$4 = "0"; \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
22 | } else { \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
23 | if (sub("beta", "", $$5) > 0) { \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
24 | $$4 = $$5; \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
25 | } else { \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
26 | $$4 = "0"; \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
27 | } \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
28 | } \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
29 | } \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
30 | printf("%s.%s.%s.%s", $$1, $$2, int($$3), $$4); \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
31 | exit; \ |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
32 | }' VERSION) |
|
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
33 | |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
29794
diff
changeset
|
34 | GTK_INSTALL_VERSION = 2.14.7.0 |
|
15425
c0961da59074
[gaim-migrate @ 18156]
Daniel Atallah <datallah@pidgin.im>
parents:
15144
diff
changeset
|
35 | |
|
20253
7e389b201776
applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents:
19668
diff
changeset
|
36 | STRIPPED_RELEASE_DIR = $(PIDGIN_TREE_TOP)/pidgin-$(PIDGIN_VERSION)-win32bin |
|
29634
80dbf6f777c4
Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <datallah@pidgin.im>
parents:
28003
diff
changeset
|
37 | DEBUG_SYMBOLS_DIR = $(PIDGIN_TREE_TOP)/pidgin-$(PIDGIN_VERSION)-dbgsym |
|
20253
7e389b201776
applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents:
19668
diff
changeset
|
38 | |
|
7e389b201776
applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents:
19668
diff
changeset
|
39 | |
|
15144
d936faa32f0e
[gaim-migrate @ 17868]
Daniel Atallah <datallah@pidgin.im>
parents:
14761
diff
changeset
|
40 | # Any *.dll or *.exe files included in win32-install-dir that we don't compile |
|
d936faa32f0e
[gaim-migrate @ 17868]
Daniel Atallah <datallah@pidgin.im>
parents:
14761
diff
changeset
|
41 | # should be included in this list so they don't get stripped |
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15643
diff
changeset
|
42 | EXTERNAL_DLLS = \ |
|
21395
e5bb2b0df509
Improved cyrus sasl support on win32:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21074
diff
changeset
|
43 | comerr32.dll \ |
|
15144
d936faa32f0e
[gaim-migrate @ 17868]
Daniel Atallah <datallah@pidgin.im>
parents:
14761
diff
changeset
|
44 | freebl3.dll \ |
|
21395
e5bb2b0df509
Improved cyrus sasl support on win32:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21074
diff
changeset
|
45 | gssapi32.dll \ |
|
e5bb2b0df509
Improved cyrus sasl support on win32:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21074
diff
changeset
|
46 | k5sprt32.dll \ |
|
e5bb2b0df509
Improved cyrus sasl support on win32:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21074
diff
changeset
|
47 | krb5_32.dll \ |
|
29807
bda3933c6400
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <datallah@pidgin.im>
parents:
29798
diff
changeset
|
48 | libenchant.dll \ |
|
bda3933c6400
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <datallah@pidgin.im>
parents:
29798
diff
changeset
|
49 | libgtkspell-0.dll \ |
|
15144
d936faa32f0e
[gaim-migrate @ 17868]
Daniel Atallah <datallah@pidgin.im>
parents:
14761
diff
changeset
|
50 | libmeanwhile-1.dll \ |
|
29794
c2e688a6a2f5
Update NSS/NSPR to 3.12.5/4.8.2 (self-built). Big thanks goes to Berke Viktor for doing this.
Daniel Atallah <datallah@pidgin.im>
parents:
29639
diff
changeset
|
51 | libnspr4.dll \ |
|
c2e688a6a2f5
Update NSS/NSPR to 3.12.5/4.8.2 (self-built). Big thanks goes to Berke Viktor for doing this.
Daniel Atallah <datallah@pidgin.im>
parents:
29639
diff
changeset
|
52 | libplc4.dll \ |
|
c2e688a6a2f5
Update NSS/NSPR to 3.12.5/4.8.2 (self-built). Big thanks goes to Berke Viktor for doing this.
Daniel Atallah <datallah@pidgin.im>
parents:
29639
diff
changeset
|
53 | libplds4.dll \ |
|
21395
e5bb2b0df509
Improved cyrus sasl support on win32:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21074
diff
changeset
|
54 | libsasl.dll \ |
|
15144
d936faa32f0e
[gaim-migrate @ 17868]
Daniel Atallah <datallah@pidgin.im>
parents:
14761
diff
changeset
|
55 | libxml2.dll \ |
|
d936faa32f0e
[gaim-migrate @ 17868]
Daniel Atallah <datallah@pidgin.im>
parents:
14761
diff
changeset
|
56 | nss3.dll \ |
|
d936faa32f0e
[gaim-migrate @ 17868]
Daniel Atallah <datallah@pidgin.im>
parents:
14761
diff
changeset
|
57 | nssckbi.dll \ |
|
29794
c2e688a6a2f5
Update NSS/NSPR to 3.12.5/4.8.2 (self-built). Big thanks goes to Berke Viktor for doing this.
Daniel Atallah <datallah@pidgin.im>
parents:
29639
diff
changeset
|
58 | nssutil3.dll \ |
|
21395
e5bb2b0df509
Improved cyrus sasl support on win32:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21074
diff
changeset
|
59 | saslANONYMOUS.dll \ |
|
e5bb2b0df509
Improved cyrus sasl support on win32:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21074
diff
changeset
|
60 | saslCRAMMD5.dll \ |
|
e5bb2b0df509
Improved cyrus sasl support on win32:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21074
diff
changeset
|
61 | saslDIGESTMD5.dll \ |
|
e5bb2b0df509
Improved cyrus sasl support on win32:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21074
diff
changeset
|
62 | saslGSSAPI.dll \ |
|
e5bb2b0df509
Improved cyrus sasl support on win32:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21074
diff
changeset
|
63 | saslLOGIN.dll \ |
|
e5bb2b0df509
Improved cyrus sasl support on win32:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21074
diff
changeset
|
64 | saslPLAIN.dll \ |
|
21526
c61a0aa919bf
Don't strip the silc dlls.
Daniel Atallah <datallah@pidgin.im>
parents:
21502
diff
changeset
|
65 | libsilc-1-1-2.dll \ |
|
c61a0aa919bf
Don't strip the silc dlls.
Daniel Atallah <datallah@pidgin.im>
parents:
21502
diff
changeset
|
66 | libsilcclient-1-1-2.dll \ |
|
21395
e5bb2b0df509
Improved cyrus sasl support on win32:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21074
diff
changeset
|
67 | smime3.dll \ |
|
15144
d936faa32f0e
[gaim-migrate @ 17868]
Daniel Atallah <datallah@pidgin.im>
parents:
14761
diff
changeset
|
68 | softokn3.dll \ |
|
29794
c2e688a6a2f5
Update NSS/NSPR to 3.12.5/4.8.2 (self-built). Big thanks goes to Berke Viktor for doing this.
Daniel Atallah <datallah@pidgin.im>
parents:
29639
diff
changeset
|
69 | sqlite3.dll \ |
|
15144
d936faa32f0e
[gaim-migrate @ 17868]
Daniel Atallah <datallah@pidgin.im>
parents:
14761
diff
changeset
|
70 | ssl3.dll |
|
d936faa32f0e
[gaim-migrate @ 17868]
Daniel Atallah <datallah@pidgin.im>
parents:
14761
diff
changeset
|
71 | |
|
d936faa32f0e
[gaim-migrate @ 17868]
Daniel Atallah <datallah@pidgin.im>
parents:
14761
diff
changeset
|
72 | #build an expression for `find` to use to ignore the above files |
|
15805
a80eb333bae9
Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <datallah@pidgin.im>
parents:
15643
diff
changeset
|
73 | EXTERNAL_DLLS_FIND_EXP = $(patsubst %,-o -name %,$(EXTERNAL_DLLS)) |
|
15144
d936faa32f0e
[gaim-migrate @ 17868]
Daniel Atallah <datallah@pidgin.im>
parents:
14761
diff
changeset
|
74 | |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
29794
diff
changeset
|
75 | .PHONY: all docs install installer installer_offline installer_zip debug_symbols_zip installers clean uninstall create_release_install_dir generate_installer_includes $(PIDGIN_REVISION_H) $(PIDGIN_REVISION_RAW_TXT) |
|
14516
fa15efbfe388
[gaim-migrate @ 17168]
Daniel Atallah <datallah@pidgin.im>
parents:
14377
diff
changeset
|
76 | |
|
27970
1dea59c9eced
Fix windows build by adding the necessary bits to define the MTN revision
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
27665
diff
changeset
|
77 | all: $(PIDGIN_CONFIG_H) $(PIDGIN_REVISION_H) |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15805
diff
changeset
|
78 | $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15805
diff
changeset
|
79 | $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) |
|
21074
91249b31d423
Add support for a DISABLE_NLS makefile variable in the mingw build to disable processing any of the translations. This shaves some time off test builds. This doesn't actually disable gettext during the build.
Daniel Atallah <datallah@pidgin.im>
parents:
20253
diff
changeset
|
80 | ifndef DISABLE_NLS |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15805
diff
changeset
|
81 | $(MAKE) -C $(PURPLE_PO_TOP) -f $(MINGW_MAKEFILE) |
|
21074
91249b31d423
Add support for a DISABLE_NLS makefile variable in the mingw build to disable processing any of the translations. This shaves some time off test builds. This doesn't actually disable gettext during the build.
Daniel Atallah <datallah@pidgin.im>
parents:
20253
diff
changeset
|
82 | endif |
| 3630 | 83 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15805
diff
changeset
|
84 | install: all $(PIDGIN_INSTALL_DIR) |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15805
diff
changeset
|
85 | $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) install |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15805
diff
changeset
|
86 | $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) install |
|
21074
91249b31d423
Add support for a DISABLE_NLS makefile variable in the mingw build to disable processing any of the translations. This shaves some time off test builds. This doesn't actually disable gettext during the build.
Daniel Atallah <datallah@pidgin.im>
parents:
20253
diff
changeset
|
87 | ifndef DISABLE_NLS |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15805
diff
changeset
|
88 | $(MAKE) -C $(PURPLE_PO_TOP) -f $(MINGW_MAKEFILE) install |
|
21074
91249b31d423
Add support for a DISABLE_NLS makefile variable in the mingw build to disable processing any of the translations. This shaves some time off test builds. This doesn't actually disable gettext during the build.
Daniel Atallah <datallah@pidgin.im>
parents:
20253
diff
changeset
|
89 | endif |
|
21502
71835d560439
Fix win32 build following death of share/Makefile.mingw
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21395
diff
changeset
|
90 | $(MAKE) -C share/ca-certs -f $(MINGW_MAKEFILE) install |
|
71835d560439
Fix win32 build following death of share/Makefile.mingw
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21395
diff
changeset
|
91 | $(MAKE) -C share/sounds -f $(MINGW_MAKEFILE) install |
|
29807
bda3933c6400
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <datallah@pidgin.im>
parents:
29798
diff
changeset
|
92 | mkdir -p $(PIDGIN_INSTALL_DIR)/spellcheck |
|
bda3933c6400
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <datallah@pidgin.im>
parents:
29798
diff
changeset
|
93 | cp $(GTKSPELL_TOP)/bin/libgtkspell-0.dll $(PIDGIN_INSTALL_DIR)/spellcheck |
|
bda3933c6400
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <datallah@pidgin.im>
parents:
29798
diff
changeset
|
94 | cp $(ENCHANT_TOP)/bin/libenchant.dll $(PIDGIN_INSTALL_DIR)/spellcheck |
|
bda3933c6400
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <datallah@pidgin.im>
parents:
29798
diff
changeset
|
95 | cp -R $(ENCHANT_TOP)/lib $(PIDGIN_INSTALL_DIR)/spellcheck |
| 3630 | 96 | |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
29794
diff
changeset
|
97 | pidgin/win32/nsis/gtk-runtime-$(GTK_BUNDLE_VERSION).zip: |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
29794
diff
changeset
|
98 | pidgin/win32/nsis/generate_gtk_zip.sh `pwd` |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
29794
diff
changeset
|
99 | |
|
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
29794
diff
changeset
|
100 | generate_installer_includes: create_release_install_dir pidgin/win32/nsis/gtk-runtime-$(GTK_BUNDLE_VERSION).zip |
|
29639
7266983d565c
Add the ability to choose which translations are installed.
Daniel Atallah <datallah@pidgin.im>
parents:
29634
diff
changeset
|
101 | rm -f pidgin/win32/nsis/pidgin-translations.nsh |
|
7266983d565c
Add the ability to choose which translations are installed.
Daniel Atallah <datallah@pidgin.im>
parents:
29634
diff
changeset
|
102 | find $(STRIPPED_RELEASE_DIR)/locale -maxdepth 1 -mindepth 1 \ |
|
7266983d565c
Add the ability to choose which translations are installed.
Daniel Atallah <datallah@pidgin.im>
parents:
29634
diff
changeset
|
103 | -exec basename {} ';' \ |
|
7266983d565c
Add the ability to choose which translations are installed.
Daniel Atallah <datallah@pidgin.im>
parents:
29634
diff
changeset
|
104 | | sed -e s/^/\!insertmacro\ LANG_SECTION\ \"/ -e s/$$/\"/ \ |
|
7266983d565c
Add the ability to choose which translations are installed.
Daniel Atallah <datallah@pidgin.im>
parents:
29634
diff
changeset
|
105 | > pidgin/win32/nsis/pidgin-translations.nsh |
|
7266983d565c
Add the ability to choose which translations are installed.
Daniel Atallah <datallah@pidgin.im>
parents:
29634
diff
changeset
|
106 | |
|
15144
d936faa32f0e
[gaim-migrate @ 17868]
Daniel Atallah <datallah@pidgin.im>
parents:
14761
diff
changeset
|
107 | create_release_install_dir: install |
|
20253
7e389b201776
applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents:
19668
diff
changeset
|
108 | rm -rf $(STRIPPED_RELEASE_DIR) |
|
29807
bda3933c6400
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <datallah@pidgin.im>
parents:
29798
diff
changeset
|
109 | mkdir $(STRIPPED_RELEASE_DIR) |
|
bda3933c6400
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <datallah@pidgin.im>
parents:
29798
diff
changeset
|
110 | tar -cf - $(PIDGIN_INSTALL_DIR) --exclude=Gtk --exclude=exchndl.dll --exclude=spellcheck \ |
|
bda3933c6400
Upgrade GtkSpell to 2.0.16 on Windows. The installer needs a bunch more work, but that is for later
Daniel Atallah <datallah@pidgin.im>
parents:
29798
diff
changeset
|
111 | | tar --strip 2 -xC $(STRIPPED_RELEASE_DIR) -f - |
|
20253
7e389b201776
applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents:
19668
diff
changeset
|
112 | find $(STRIPPED_RELEASE_DIR) \( -name '*.dll' -o -name '*.exe' \) \ |
|
29639
7266983d565c
Add the ability to choose which translations are installed.
Daniel Atallah <datallah@pidgin.im>
parents:
29634
diff
changeset
|
113 | -not \( -false $(EXTERNAL_DLLS_FIND_EXP) \) \ |
|
7266983d565c
Add the ability to choose which translations are installed.
Daniel Atallah <datallah@pidgin.im>
parents:
29634
diff
changeset
|
114 | -exec $(STRIP) --strip-unneeded {} ';' |
|
5384
b187b49ff651
[gaim-migrate @ 5760]
Herman Bloggs <herman@bluedigits.com>
parents:
4897
diff
changeset
|
115 | |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
29794
diff
changeset
|
116 | installer: create_release_install_dir generate_installer_includes |
|
29634
80dbf6f777c4
Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <datallah@pidgin.im>
parents:
28003
diff
changeset
|
117 | $(MAKENSIS) $(MAKENSISOPT)V3 $(MAKENSISOPT)DPIDGIN_VERSION="$(PIDGIN_VERSION)" $(MAKENSISOPT)DPIDGIN_PRODUCT_VERSION="$(PIDGIN_PRODUCT_VERSION)" $(MAKENSISOPT)DPIDGIN_INSTALL_DIR="$(STRIPPED_RELEASE_DIR)" $(MAKENSISOPT)DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" pidgin/win32/nsis/pidgin-installer.nsi |
|
21671
5fb405d62f39
This is a patch from Lee Roach to update the mingw "clean" makefile targets to remove some generated files and to fix a couple other issues. Fixes #3981.
Daniel Atallah <datallah@pidgin.im>
parents:
21526
diff
changeset
|
118 | mv pidgin/win32/nsis/pidgin-$(PIDGIN_VERSION).exe ./ |
|
15144
d936faa32f0e
[gaim-migrate @ 17868]
Daniel Atallah <datallah@pidgin.im>
parents:
14761
diff
changeset
|
119 | |
|
29798
7e57f09e0b2e
The rest of the plumbing needed to build the GTK+ Runtime zip included in the installer
Daniel Atallah <datallah@pidgin.im>
parents:
29794
diff
changeset
|
120 | installer_offline: create_release_install_dir generate_installer_includes debug_symbols_zip |
|
29634
80dbf6f777c4
Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <datallah@pidgin.im>
parents:
28003
diff
changeset
|
121 | $(MAKENSIS) $(MAKENSISOPT)V3 $(MAKENSISOPT)DPIDGIN_VERSION="$(PIDGIN_VERSION)" $(MAKENSISOPT)DPIDGIN_PRODUCT_VERSION="$(PIDGIN_PRODUCT_VERSION)" $(MAKENSISOPT)DOFFLINE_INSTALLER $(MAKENSISOPT)DPIDGIN_INSTALL_DIR="$(STRIPPED_RELEASE_DIR)" $(MAKENSISOPT)DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" pidgin/win32/nsis/pidgin-installer.nsi |
|
80dbf6f777c4
Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <datallah@pidgin.im>
parents:
28003
diff
changeset
|
122 | mv pidgin/win32/nsis/pidgin-$(PIDGIN_VERSION)-offline.exe ./ |
|
5931
6bd53176fdcf
[gaim-migrate @ 6371]
Herman Bloggs <herman@bluedigits.com>
parents:
5387
diff
changeset
|
123 | |
|
20253
7e389b201776
applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents:
19668
diff
changeset
|
124 | installer_zip: create_release_install_dir |
|
7e389b201776
applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents:
19668
diff
changeset
|
125 | rm -f pidgin-$(PIDGIN_VERSION)-win32-bin.zip |
|
7e389b201776
applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents:
19668
diff
changeset
|
126 | zip -9 -r pidgin-$(PIDGIN_VERSION)-win32-bin.zip $(STRIPPED_RELEASE_DIR) |
|
7e389b201776
applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents:
19668
diff
changeset
|
127 | |
|
29634
80dbf6f777c4
Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <datallah@pidgin.im>
parents:
28003
diff
changeset
|
128 | debug_symbols_zip: install |
|
80dbf6f777c4
Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <datallah@pidgin.im>
parents:
28003
diff
changeset
|
129 | rm -rf $(DEBUG_SYMBOLS_DIR) $(DEBUG_SYMBOLS_DIR).zip |
|
80dbf6f777c4
Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <datallah@pidgin.im>
parents:
28003
diff
changeset
|
130 | mkdir $(DEBUG_SYMBOLS_DIR) |
|
80dbf6f777c4
Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <datallah@pidgin.im>
parents:
28003
diff
changeset
|
131 | tar -cf - `find $(PIDGIN_INSTALL_DIR) \( -name '*.dll' -o -name '*.exe' \) \ |
|
80dbf6f777c4
Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <datallah@pidgin.im>
parents:
28003
diff
changeset
|
132 | -not \( -false $(EXTERNAL_DLLS_FIND_EXP) \) -print` \ |
|
80dbf6f777c4
Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <datallah@pidgin.im>
parents:
28003
diff
changeset
|
133 | | tar --strip 2 --xform s/$$/.dbgsym/ -xC $(DEBUG_SYMBOLS_DIR) -f - |
|
80dbf6f777c4
Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <datallah@pidgin.im>
parents:
28003
diff
changeset
|
134 | zip -9 -r $(DEBUG_SYMBOLS_DIR).zip $(DEBUG_SYMBOLS_DIR) |
|
80dbf6f777c4
Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <datallah@pidgin.im>
parents:
28003
diff
changeset
|
135 | |
|
80dbf6f777c4
Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <datallah@pidgin.im>
parents:
28003
diff
changeset
|
136 | installers: installer installer_offline debug_symbols_zip installer_zip |
|
5384
b187b49ff651
[gaim-migrate @ 5760]
Herman Bloggs <herman@bluedigits.com>
parents:
4897
diff
changeset
|
137 | |
|
18667
ebbd675130b3
Patch from Jason Conti to enable `make -f Makefile.mingw docs` on the windows build. Fixes #1801.
Daniel Atallah <datallah@pidgin.im>
parents:
16761
diff
changeset
|
138 | Doxyfile.mingw: Doxyfile.in |
|
ebbd675130b3
Patch from Jason Conti to enable `make -f Makefile.mingw docs` on the windows build. Fixes #1801.
Daniel Atallah <datallah@pidgin.im>
parents:
16761
diff
changeset
|
139 | sed -e "s/@PACKAGE@/pidgin/" -e "s/@VERSION@/$(PIDGIN_VERSION)/" -e "s/@top_srcdir@/$(PIDGIN_TREE_TOP)/g" -e "s/@enable_dot@/NO/" Doxyfile.in > Doxyfile.mingw |
|
ebbd675130b3
Patch from Jason Conti to enable `make -f Makefile.mingw docs` on the windows build. Fixes #1801.
Daniel Atallah <datallah@pidgin.im>
parents:
16761
diff
changeset
|
140 | |
|
ebbd675130b3
Patch from Jason Conti to enable `make -f Makefile.mingw docs` on the windows build. Fixes #1801.
Daniel Atallah <datallah@pidgin.im>
parents:
16761
diff
changeset
|
141 | docs: Doxyfile.mingw |
|
ebbd675130b3
Patch from Jason Conti to enable `make -f Makefile.mingw docs` on the windows build. Fixes #1801.
Daniel Atallah <datallah@pidgin.im>
parents:
16761
diff
changeset
|
142 | @echo "Running doxygen..." |
|
ebbd675130b3
Patch from Jason Conti to enable `make -f Makefile.mingw docs` on the windows build. Fixes #1801.
Daniel Atallah <datallah@pidgin.im>
parents:
16761
diff
changeset
|
143 | @doxygen Doxyfile.mingw |
|
ebbd675130b3
Patch from Jason Conti to enable `make -f Makefile.mingw docs` on the windows build. Fixes #1801.
Daniel Atallah <datallah@pidgin.im>
parents:
16761
diff
changeset
|
144 | |
|
14377
c0440e16bacd
[gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents:
14303
diff
changeset
|
145 | clean: |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15805
diff
changeset
|
146 | $(MAKE) -C $(PURPLE_PO_TOP) -f $(MINGW_MAKEFILE) clean |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15805
diff
changeset
|
147 | $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) clean |
|
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15805
diff
changeset
|
148 | $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) clean |
|
24229
ca33845455fd
Some Makefile cleanups to remove generated files from Lee Roach. Fixes #6609.
Daniel Atallah <datallah@pidgin.im>
parents:
21671
diff
changeset
|
149 | $(MAKE) -C share/ca-certs -f $(MINGW_MAKEFILE) clean |
|
29634
80dbf6f777c4
Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <datallah@pidgin.im>
parents:
28003
diff
changeset
|
150 | rm -f $(PIDGIN_CONFIG_H) $(PIDGIN_REVISION_H) $(PIDGIN_REVISION_RAW_TXT) ./VERSION pidgin-$(PIDGIN_VERSION)*.exe pidgin-$(PIDGIN_VERSION)-win32-bin.zip $(DEBUG_SYMBOLS_DIR).zip |
|
18667
ebbd675130b3
Patch from Jason Conti to enable `make -f Makefile.mingw docs` on the windows build. Fixes #1801.
Daniel Atallah <datallah@pidgin.im>
parents:
16761
diff
changeset
|
151 | rm -rf doc/html Doxyfile.mingw |
|
14761
d90178571681
[gaim-migrate @ 17451]
Daniel Atallah <datallah@pidgin.im>
parents:
14638
diff
changeset
|
152 | |
|
d90178571681
[gaim-migrate @ 17451]
Daniel Atallah <datallah@pidgin.im>
parents:
14638
diff
changeset
|
153 | uninstall: |
|
29634
80dbf6f777c4
Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <datallah@pidgin.im>
parents:
28003
diff
changeset
|
154 | rm -rf $(PURPLE_INSTALL_PERL_DIR) $(PIDGIN_INSTALL_PLUGINS_DIR) $(PURPLE_INSTALL_PO_DIR) $(PIDGIN_INSTALL_DIR) $(STRIPPED_RELEASE_DIR) $(DEBUG_SYMBOLS_DIR) |
|
21671
5fb405d62f39
This is a patch from Lee Roach to update the mingw "clean" makefile targets to remove some generated files and to fix a couple other issues. Fixes #3981.
Daniel Atallah <datallah@pidgin.im>
parents:
21526
diff
changeset
|
155 | rm -f ./VERSION |
|
5931
6bd53176fdcf
[gaim-migrate @ 6371]
Herman Bloggs <herman@bluedigits.com>
parents:
5387
diff
changeset
|
156 | |
|
16100
a0ab70986c10
This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents:
15805
diff
changeset
|
157 | include $(PIDGIN_COMMON_TARGETS) |
|
28003
e9773dca1e18
Apparently the .PHONY bits are important for the revision reported in win32
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
27970
diff
changeset
|
158 |