annotate Makefile.mingw @ 29479:58f0643c0b53

Add a missing backslash
author Stu Tomlinson <stu@nosnilmot.com>
date Tue, 23 Feb 2010 14:50:37 +0000
parents 6d6921daf2da
children 996eb83a1162
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
8615
f26e7dc1805e [gaim-migrate @ 9366]
Luke Schierer <lschiere@pidgin.im>
parents: 7056
diff changeset
2 #
3630
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
25911
0c7b74fc558e Lots of minor whitespace and comment changes:
Mark Doliner <mark@kingant.net>
parents: 24032
diff changeset
5 # Description: Top Makefile for win32 (mingw) port of Pidgin and libpurple
3630
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
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15751
diff changeset
8 PIDGIN_TREE_TOP := .
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15751
diff changeset
9 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
10804
6dcfec6f2f7c [gaim-migrate @ 12452]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10201
diff changeset
10
14454
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
11 # Generate a X.X.X.X version for the installer file versioning header
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
12 # The last digit will be 99 for a final release, 0 for dev or unknown, or the beta number
15751
e11859350489 Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15581
diff changeset
13 PIDGIN_PRODUCT_VERSION = $(shell \
14454
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
14 awk 'BEGIN {FS="."} { \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
15 if (int($$3) == $$3) { \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
16 $$4 = "99"; \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
17 } else { \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
18 $$5 = $$3; \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
19 sub(int($$3), "", $$5); \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
20 if ($$5 == "dev") { \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
21 $$4 = "0"; \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
22 } else { \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
23 if (sub("beta", "", $$5) > 0) { \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
24 $$4 = $$5; \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
25 } else { \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
26 $$4 = "0"; \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
27 } \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
28 } \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
29 } \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
30 printf("%s.%s.%s.%s", $$1, $$2, int($$3), $$4); \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
31 exit; \
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
32 }' VERSION)
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
33
15363
d9ef62fb7e7b [gaim-migrate @ 18156]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15082
diff changeset
34 GTK_INSTALL_VERSION = $(shell \
d9ef62fb7e7b [gaim-migrate @ 18156]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15082
diff changeset
35 source ../gtk_installer/version.sh; \
d9ef62fb7e7b [gaim-migrate @ 18156]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15082
diff changeset
36 echo $$gtk_version \
d9ef62fb7e7b [gaim-migrate @ 18156]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15082
diff changeset
37 )
d9ef62fb7e7b [gaim-migrate @ 18156]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15082
diff changeset
38
20361
0afbcc405f89 applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents: 19504
diff changeset
39 STRIPPED_RELEASE_DIR = $(PIDGIN_TREE_TOP)/pidgin-$(PIDGIN_VERSION)-win32bin
29225
3f33a8fbf871 Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 27736
diff changeset
40 DEBUG_SYMBOLS_DIR = $(PIDGIN_TREE_TOP)/pidgin-$(PIDGIN_VERSION)-dbgsym
20361
0afbcc405f89 applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents: 19504
diff changeset
41
0afbcc405f89 applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents: 19504
diff changeset
42
15082
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
43 # Any *.dll or *.exe files included in win32-install-dir that we don't compile
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
44 # should be included in this list so they don't get stripped
15751
e11859350489 Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15581
diff changeset
45 EXTERNAL_DLLS = \
21125
23d046a20aa0 Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents: 20998
diff changeset
46 comerr32.dll \
15082
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
47 freebl3.dll \
21125
23d046a20aa0 Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents: 20998
diff changeset
48 gssapi32.dll \
23d046a20aa0 Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents: 20998
diff changeset
49 k5sprt32.dll \
23d046a20aa0 Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents: 20998
diff changeset
50 krb5_32.dll \
15082
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
51 libgtkspell.dll \
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
52 libmeanwhile-1.dll \
21125
23d046a20aa0 Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents: 20998
diff changeset
53 libsasl.dll \
15082
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
54 libxml2.dll \
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
55 nspr4.dll \
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
56 nss3.dll \
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
57 nssckbi.dll \
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
58 plc4.dll \
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
59 plds4.dll \
21125
23d046a20aa0 Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents: 20998
diff changeset
60 saslANONYMOUS.dll \
23d046a20aa0 Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents: 20998
diff changeset
61 saslCRAMMD5.dll \
23d046a20aa0 Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents: 20998
diff changeset
62 saslDIGESTMD5.dll \
23d046a20aa0 Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents: 20998
diff changeset
63 saslGSSAPI.dll \
23d046a20aa0 Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents: 20998
diff changeset
64 saslLOGIN.dll \
23d046a20aa0 Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents: 20998
diff changeset
65 saslPLAIN.dll \
21439
8fbd51946259 Don't strip the silc dlls.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 21333
diff changeset
66 libsilc-1-1-2.dll \
8fbd51946259 Don't strip the silc dlls.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 21333
diff changeset
67 libsilcclient-1-1-2.dll \
21125
23d046a20aa0 Improved cyrus sasl support on win32:
Stu Tomlinson <stu@nosnilmot.com>
parents: 20998
diff changeset
68 smime3.dll \
15082
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
69 softokn3.dll \
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
70 ssl3.dll
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
71
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
72 #build an expression for `find` to use to ignore the above files
15751
e11859350489 Updates to the win32 installer. It isn't complete yet, but this a good saving point.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15581
diff changeset
73 EXTERNAL_DLLS_FIND_EXP = $(patsubst %,-o -name %,$(EXTERNAL_DLLS))
15082
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
74
29230
6d6921daf2da Add the ability to choose which translations are installed.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 29225
diff changeset
75 .PHONY: all docs install installer installer_offline installer_zip debug_symbols_zip installers clean uninstall create_release_install_dir generate_translations_installer_include $(PIDGIN_REVISION_H) $(PIDGIN_REVISION_RAW_TXT)
14454
22cb019456bd [gaim-migrate @ 17168]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14315
diff changeset
76
27706
bd3cf895e19a Fix windows build by adding the necessary bits to define the MTN revision
Stu Tomlinson <stu@nosnilmot.com>
parents: 27407
diff changeset
77 all: $(PIDGIN_CONFIG_H) $(PIDGIN_REVISION_H)
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15751
diff changeset
78 $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE)
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15751
diff changeset
79 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE)
20998
a82465913e2e 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 <daniel.atallah@gmail.com>
parents: 20361
diff changeset
80 ifndef DISABLE_NLS
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15751
diff changeset
81 $(MAKE) -C $(PURPLE_PO_TOP) -f $(MINGW_MAKEFILE)
20998
a82465913e2e 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 <daniel.atallah@gmail.com>
parents: 20361
diff changeset
82 endif
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
83
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15751
diff changeset
84 install: all $(PIDGIN_INSTALL_DIR)
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15751
diff changeset
85 $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) install
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15751
diff changeset
86 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) install
20998
a82465913e2e 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 <daniel.atallah@gmail.com>
parents: 20361
diff changeset
87 ifndef DISABLE_NLS
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15751
diff changeset
88 $(MAKE) -C $(PURPLE_PO_TOP) -f $(MINGW_MAKEFILE) install
20998
a82465913e2e 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 <daniel.atallah@gmail.com>
parents: 20361
diff changeset
89 endif
21333
ff8dc621f3c3 Fix win32 build following death of share/Makefile.mingw
Stu Tomlinson <stu@nosnilmot.com>
parents: 21125
diff changeset
90 $(MAKE) -C share/ca-certs -f $(MINGW_MAKEFILE) install
ff8dc621f3c3 Fix win32 build following death of share/Makefile.mingw
Stu Tomlinson <stu@nosnilmot.com>
parents: 21125
diff changeset
91 $(MAKE) -C share/sounds -f $(MINGW_MAKEFILE) install
3630
9682c0e022c6 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
92
29230
6d6921daf2da Add the ability to choose which translations are installed.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 29225
diff changeset
93 generate_translations_installer_include: create_release_install_dir
6d6921daf2da Add the ability to choose which translations are installed.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 29225
diff changeset
94 rm -f pidgin/win32/nsis/pidgin-translations.nsh
6d6921daf2da Add the ability to choose which translations are installed.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 29225
diff changeset
95 find $(STRIPPED_RELEASE_DIR)/locale -maxdepth 1 -mindepth 1 \
6d6921daf2da Add the ability to choose which translations are installed.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 29225
diff changeset
96 -exec basename {} ';' \
6d6921daf2da Add the ability to choose which translations are installed.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 29225
diff changeset
97 | sed -e s/^/\!insertmacro\ LANG_SECTION\ \"/ -e s/$$/\"/ \
6d6921daf2da Add the ability to choose which translations are installed.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 29225
diff changeset
98 > pidgin/win32/nsis/pidgin-translations.nsh
6d6921daf2da Add the ability to choose which translations are installed.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 29225
diff changeset
99
15082
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
100 create_release_install_dir: install
20361
0afbcc405f89 applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents: 19504
diff changeset
101 rm -rf $(STRIPPED_RELEASE_DIR)
0afbcc405f89 applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents: 19504
diff changeset
102 cp -R $(PIDGIN_INSTALL_DIR) $(STRIPPED_RELEASE_DIR)
0afbcc405f89 applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents: 19504
diff changeset
103 find $(STRIPPED_RELEASE_DIR) \( -name '*.dll' -o -name '*.exe' \) \
29230
6d6921daf2da Add the ability to choose which translations are installed.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 29225
diff changeset
104 -not \( -false $(EXTERNAL_DLLS_FIND_EXP) \) \
6d6921daf2da Add the ability to choose which translations are installed.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 29225
diff changeset
105 -exec $(STRIP) --strip-unneeded {} ';'
5384
0b544518a365 [gaim-migrate @ 5760]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4897
diff changeset
106
29230
6d6921daf2da Add the ability to choose which translations are installed.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 29225
diff changeset
107 installer: create_release_install_dir generate_translations_installer_include
29225
3f33a8fbf871 Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 27736
diff changeset
108 $(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
21584
055e1abac7cf 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 <daniel.atallah@gmail.com>
parents: 21439
diff changeset
109 mv pidgin/win32/nsis/pidgin-$(PIDGIN_VERSION).exe ./
15082
133af8458cbd [gaim-migrate @ 17868]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14699
diff changeset
110
29230
6d6921daf2da Add the ability to choose which translations are installed.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 29225
diff changeset
111 installer_offline: create_release_install_dir generate_translations_installer_include debug_symbols_zip
29225
3f33a8fbf871 Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 27736
diff changeset
112 $(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
3f33a8fbf871 Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 27736
diff changeset
113 mv pidgin/win32/nsis/pidgin-$(PIDGIN_VERSION)-offline.exe ./
5931
8b5dd7117f56 [gaim-migrate @ 6371]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 5387
diff changeset
114
20361
0afbcc405f89 applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents: 19504
diff changeset
115 installer_zip: create_release_install_dir
0afbcc405f89 applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents: 19504
diff changeset
116 rm -f pidgin-$(PIDGIN_VERSION)-win32-bin.zip
0afbcc405f89 applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents: 19504
diff changeset
117 zip -9 -r pidgin-$(PIDGIN_VERSION)-win32-bin.zip $(STRIPPED_RELEASE_DIR)
0afbcc405f89 applied changes from 60b78c93bfc38b72c6e9fdde59d0e2507bccc4bd
Luke Schierer <lschiere@pidgin.im>
parents: 19504
diff changeset
118
29225
3f33a8fbf871 Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 27736
diff changeset
119 debug_symbols_zip: install
3f33a8fbf871 Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 27736
diff changeset
120 rm -rf $(DEBUG_SYMBOLS_DIR) $(DEBUG_SYMBOLS_DIR).zip
3f33a8fbf871 Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 27736
diff changeset
121 mkdir $(DEBUG_SYMBOLS_DIR)
3f33a8fbf871 Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 27736
diff changeset
122 tar -cf - `find $(PIDGIN_INSTALL_DIR) \( -name '*.dll' -o -name '*.exe' \) \
3f33a8fbf871 Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 27736
diff changeset
123 -not \( -false $(EXTERNAL_DLLS_FIND_EXP) \) -print` \
3f33a8fbf871 Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 27736
diff changeset
124 | tar --strip 2 --xform s/$$/.dbgsym/ -xC $(DEBUG_SYMBOLS_DIR) -f -
3f33a8fbf871 Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 27736
diff changeset
125 zip -9 -r $(DEBUG_SYMBOLS_DIR).zip $(DEBUG_SYMBOLS_DIR)
3f33a8fbf871 Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 27736
diff changeset
126
3f33a8fbf871 Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 27736
diff changeset
127 installers: installer installer_offline debug_symbols_zip installer_zip
5384
0b544518a365 [gaim-migrate @ 5760]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 4897
diff changeset
128
18459
042b64016a57 Patch from Jason Conti to enable `make -f Makefile.mingw docs` on the windows build. Fixes #1801.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 16689
diff changeset
129 Doxyfile.mingw: Doxyfile.in
042b64016a57 Patch from Jason Conti to enable `make -f Makefile.mingw docs` on the windows build. Fixes #1801.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 16689
diff changeset
130 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
042b64016a57 Patch from Jason Conti to enable `make -f Makefile.mingw docs` on the windows build. Fixes #1801.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 16689
diff changeset
131
042b64016a57 Patch from Jason Conti to enable `make -f Makefile.mingw docs` on the windows build. Fixes #1801.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 16689
diff changeset
132 docs: Doxyfile.mingw
042b64016a57 Patch from Jason Conti to enable `make -f Makefile.mingw docs` on the windows build. Fixes #1801.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 16689
diff changeset
133 @echo "Running doxygen..."
042b64016a57 Patch from Jason Conti to enable `make -f Makefile.mingw docs` on the windows build. Fixes #1801.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 16689
diff changeset
134 @doxygen Doxyfile.mingw
042b64016a57 Patch from Jason Conti to enable `make -f Makefile.mingw docs` on the windows build. Fixes #1801.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 16689
diff changeset
135
14315
8793fc8f7064 [gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14241
diff changeset
136 clean:
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15751
diff changeset
137 $(MAKE) -C $(PURPLE_PO_TOP) -f $(MINGW_MAKEFILE) clean
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15751
diff changeset
138 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) clean
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15751
diff changeset
139 $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) clean
24032
78c64f7c598f Some Makefile cleanups to remove generated files from Lee Roach. Fixes #6609.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 21584
diff changeset
140 $(MAKE) -C share/ca-certs -f $(MINGW_MAKEFILE) clean
29225
3f33a8fbf871 Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 27736
diff changeset
141 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
18459
042b64016a57 Patch from Jason Conti to enable `make -f Makefile.mingw docs` on the windows build. Fixes #1801.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 16689
diff changeset
142 rm -rf doc/html Doxyfile.mingw
14699
cd1ddfa8868c [gaim-migrate @ 17451]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14576
diff changeset
143
cd1ddfa8868c [gaim-migrate @ 17451]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14576
diff changeset
144 uninstall:
29225
3f33a8fbf871 Use a private GTK+ Runtime copy on Windows.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 27736
diff changeset
145 rm -rf $(PURPLE_INSTALL_PERL_DIR) $(PIDGIN_INSTALL_PLUGINS_DIR) $(PURPLE_INSTALL_PO_DIR) $(PIDGIN_INSTALL_DIR) $(STRIPPED_RELEASE_DIR) $(DEBUG_SYMBOLS_DIR)
21584
055e1abac7cf 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 <daniel.atallah@gmail.com>
parents: 21439
diff changeset
146 rm -f ./VERSION
5931
8b5dd7117f56 [gaim-migrate @ 6371]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 5387
diff changeset
147
16039
ded8da3de5f8 This should get all the Win32 Makefiles in line with
Kevin Stange <kevin@simguy.net>
parents: 15751
diff changeset
148 include $(PIDGIN_COMMON_TARGETS)
27736
eb54b1f7034b Apparently the .PHONY bits are important for the revision reported in win32
Stu Tomlinson <stu@nosnilmot.com>
parents: 27706
diff changeset
149