Mercurial > pidgin
comparison Makefile.mingw @ 21284:6de09629f091
propagate from branch 'im.pidgin.pidgin.next.minor' (head 0c9637482b845cc65e95a26e144697391c51133f)
to branch 'im.pidgin.pidgin' (head e3a6991e78dac328f13804950fee54dfb8afc3c5)
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Sat, 10 Nov 2007 04:52:20 +0000 |
parents | 23d046a20aa0 |
children | ff8dc621f3c3 |
comparison
equal
deleted
inserted
replaced
21283:406aa3be6b32 | 21284:6de09629f091 |
---|---|
34 GTK_INSTALL_VERSION = $(shell \ | 34 GTK_INSTALL_VERSION = $(shell \ |
35 source ../gtk_installer/version.sh; \ | 35 source ../gtk_installer/version.sh; \ |
36 echo $$gtk_version \ | 36 echo $$gtk_version \ |
37 ) | 37 ) |
38 | 38 |
39 STRIPPED_RELEASE_DIR = $(PIDGIN_TREE_TOP)/pidgin-$(PIDGIN_VERSION)-win32bin | |
40 | |
41 | |
39 # Any *.dll or *.exe files included in win32-install-dir that we don't compile | 42 # Any *.dll or *.exe files included in win32-install-dir that we don't compile |
40 # should be included in this list so they don't get stripped | 43 # should be included in this list so they don't get stripped |
41 EXTERNAL_DLLS = \ | 44 EXTERNAL_DLLS = \ |
45 comerr32.dll \ | |
42 freebl3.dll \ | 46 freebl3.dll \ |
47 gssapi32.dll \ | |
48 k5sprt32.dll \ | |
49 krb5_32.dll \ | |
43 libgtkspell.dll \ | 50 libgtkspell.dll \ |
44 libmeanwhile-1.dll \ | 51 libmeanwhile-1.dll \ |
52 libsasl.dll \ | |
45 libxml2.dll \ | 53 libxml2.dll \ |
46 nspr4.dll \ | 54 nspr4.dll \ |
47 nss3.dll \ | 55 nss3.dll \ |
48 nssckbi.dll \ | 56 nssckbi.dll \ |
49 plc4.dll \ | 57 plc4.dll \ |
50 plds4.dll \ | 58 plds4.dll \ |
59 saslANONYMOUS.dll \ | |
60 saslCRAMMD5.dll \ | |
61 saslDIGESTMD5.dll \ | |
62 saslGSSAPI.dll \ | |
63 saslLOGIN.dll \ | |
64 saslPLAIN.dll \ | |
51 silc.dll \ | 65 silc.dll \ |
52 silcclient.dll \ | 66 silcclient.dll \ |
67 smime3.dll \ | |
53 softokn3.dll \ | 68 softokn3.dll \ |
54 smime3.dll \ | |
55 ssl3.dll | 69 ssl3.dll |
56 | 70 |
57 #build an expression for `find` to use to ignore the above files | 71 #build an expression for `find` to use to ignore the above files |
58 EXTERNAL_DLLS_FIND_EXP = $(patsubst %,-o -name %,$(EXTERNAL_DLLS)) | 72 EXTERNAL_DLLS_FIND_EXP = $(patsubst %,-o -name %,$(EXTERNAL_DLLS)) |
59 | 73 |
60 .PHONY: all docs install installer installer_nogtk installer_debug installers clean uninstall create_release_install_dir | 74 .PHONY: all docs install installer installer_nogtk installer_debug installers clean uninstall create_release_install_dir |
61 | 75 |
62 all: $(PIDGIN_CONFIG_H) | 76 all: $(PIDGIN_CONFIG_H) |
63 $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) | 77 $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) |
64 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) | 78 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) |
79 ifndef DISABLE_NLS | |
65 $(MAKE) -C $(PURPLE_PO_TOP) -f $(MINGW_MAKEFILE) | 80 $(MAKE) -C $(PURPLE_PO_TOP) -f $(MINGW_MAKEFILE) |
81 endif | |
66 | 82 |
67 install: all $(PIDGIN_INSTALL_DIR) | 83 install: all $(PIDGIN_INSTALL_DIR) |
68 $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) install | 84 $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) install |
69 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) install | 85 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) install |
86 ifndef DISABLE_NLS | |
70 $(MAKE) -C $(PURPLE_PO_TOP) -f $(MINGW_MAKEFILE) install | 87 $(MAKE) -C $(PURPLE_PO_TOP) -f $(MINGW_MAKEFILE) install |
88 endif | |
71 $(MAKE) -C share -f $(MINGW_MAKEFILE) install | 89 $(MAKE) -C share -f $(MINGW_MAKEFILE) install |
72 | 90 |
73 create_release_install_dir: install | 91 create_release_install_dir: install |
74 rm -rf $(PIDGIN_INSTALL_DIR).release | 92 rm -rf $(STRIPPED_RELEASE_DIR) |
75 cp -R $(PIDGIN_INSTALL_DIR) $(PIDGIN_INSTALL_DIR).release | 93 cp -R $(PIDGIN_INSTALL_DIR) $(STRIPPED_RELEASE_DIR) |
76 find $(PIDGIN_INSTALL_DIR).release \( -name '*.dll' -o -name '*.exe' \) \ | 94 find $(STRIPPED_RELEASE_DIR) \( -name '*.dll' -o -name '*.exe' \) \ |
77 -not \( -false $(EXTERNAL_DLLS_FIND_EXP) \) -exec $(STRIP) --strip-unneeded {} ';' | 95 -not \( -false $(EXTERNAL_DLLS_FIND_EXP) \) -exec $(STRIP) --strip-unneeded {} ';' |
78 | 96 |
79 installer: create_release_install_dir | 97 installer: create_release_install_dir |
80 $(MAKENSIS) /V3 /DPIDGIN_VERSION="$(PIDGIN_VERSION)" /DPIDGIN_PRODUCT_VERSION="$(PIDGIN_PRODUCT_VERSION)" /DWITH_GTK /DPIDGIN_INSTALL_DIR="$(PIDGIN_INSTALL_DIR).release" /DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" pidgin/win32/nsis/pidgin-installer.nsi | 98 $(MAKENSIS) /V3 /DPIDGIN_VERSION="$(PIDGIN_VERSION)" /DPIDGIN_PRODUCT_VERSION="$(PIDGIN_PRODUCT_VERSION)" /DWITH_GTK /DPIDGIN_INSTALL_DIR="$(STRIPPED_RELEASE_DIR)" /DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" pidgin/win32/nsis/pidgin-installer.nsi |
81 mv pidgin/win32/nsis/pidgin*.exe ./ | 99 mv pidgin/win32/nsis/pidgin*.exe ./ |
82 | 100 |
83 installer_nogtk: create_release_install_dir | 101 installer_nogtk: create_release_install_dir |
84 $(MAKENSIS) /V3 /DPIDGIN_VERSION="$(PIDGIN_VERSION)" /DPIDGIN_PRODUCT_VERSION="$(PIDGIN_PRODUCT_VERSION)" /DPIDGIN_INSTALL_DIR="$(PIDGIN_INSTALL_DIR).release" /DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" pidgin/win32/nsis/pidgin-installer.nsi | 102 $(MAKENSIS) /V3 /DPIDGIN_VERSION="$(PIDGIN_VERSION)" /DPIDGIN_PRODUCT_VERSION="$(PIDGIN_PRODUCT_VERSION)" /DPIDGIN_INSTALL_DIR="$(STRIPPED_RELEASE_DIR)" /DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" pidgin/win32/nsis/pidgin-installer.nsi |
85 mv pidgin/win32/nsis/pidgin*.exe ./ | 103 mv pidgin/win32/nsis/pidgin*.exe ./ |
86 | 104 |
87 installer_debug: install | 105 installer_debug: install |
88 $(MAKENSIS) /V3 /DPIDGIN_VERSION="$(PIDGIN_VERSION)" /DPIDGIN_PRODUCT_VERSION="$(PIDGIN_PRODUCT_VERSION)" /DPIDGIN_INSTALL_DIR="$(PIDGIN_INSTALL_DIR)" /DDEBUG /DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" pidgin/win32/nsis/pidgin-installer.nsi | 106 $(MAKENSIS) /V3 /DPIDGIN_VERSION="$(PIDGIN_VERSION)" /DPIDGIN_PRODUCT_VERSION="$(PIDGIN_PRODUCT_VERSION)" /DPIDGIN_INSTALL_DIR="$(PIDGIN_INSTALL_DIR)" /DDEBUG /DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" pidgin/win32/nsis/pidgin-installer.nsi |
89 mv pidgin/win32/nsis/pidgin*.exe ./ | 107 mv pidgin/win32/nsis/pidgin*.exe ./ |
90 | 108 |
91 installers: installer installer_nogtk installer_debug | 109 installer_zip: create_release_install_dir |
110 rm -f pidgin-$(PIDGIN_VERSION)-win32-bin.zip | |
111 zip -9 -r pidgin-$(PIDGIN_VERSION)-win32-bin.zip $(STRIPPED_RELEASE_DIR) | |
112 | |
113 installers: installer installer_nogtk installer_debug installer_zip | |
92 | 114 |
93 Doxyfile.mingw: Doxyfile.in | 115 Doxyfile.mingw: Doxyfile.in |
94 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 | 116 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 |
95 | 117 |
96 docs: Doxyfile.mingw | 118 docs: Doxyfile.mingw |