annotate share/ca-certs/Makefile.mingw @ 25073:8615b929e140

It's wrong, unnecessary, and expensive to use purple_utf8_strcasecmp() here. 1. Wrong because we shouldn't presume to know how the prpl wants their usernames compared 2. Unnecessary because we're already comparing two normalized names (everything in PurpleAccount->permit and PurpleAccount->deny) should be normalized 3. Expensive because MSN calls these functions a lot, and g_utf8_collate and g_utf8_casefold are both pretty expensive
author Mark Doliner <mark@kingant.net>
date Tue, 10 Feb 2009 01:44:40 +0000
parents 78c64f7c598f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19504
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
1 #
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
2 # Makefile.mingw
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
3 #
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
4 # Description: Makefile for win32 (mingw) version of Pidgin ca-certs
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
5 #
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
6
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
7 PIDGIN_TREE_TOP := ../..
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
8 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
9
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
10 datadir := $(PIDGIN_INSTALL_DIR)
23338
dd21962a8a1d re-Fix win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 23337
diff changeset
11 -include ./Makefile.am.mingw
19504
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
12 cacertsdir := $(PIDGIN_INSTALL_DIR)/ca-certs
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
13
23962
78c64f7c598f Some Makefile cleanups to remove generated files from Lee Roach. Fixes #6609.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 23338
diff changeset
14 .PHONY: install clean
19504
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
15
23337
a7711cdafa6b Fix win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 19504
diff changeset
16 install: ./Makefile.am.mingw
19504
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
17 if test '$(cacerts_DATA)'; then \
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
18 mkdir -p $(cacertsdir); \
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
19 cp $(cacerts_DATA) $(cacertsdir); \
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
20 fi;
d5ecaf5bce93 Fix the win32 build for the cert SoC branch merge.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
diff changeset
21
23962
78c64f7c598f Some Makefile cleanups to remove generated files from Lee Roach. Fixes #6609.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 23338
diff changeset
22 clean:
78c64f7c598f Some Makefile cleanups to remove generated files from Lee Roach. Fixes #6609.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 23338
diff changeset
23 rm -f ./Makefile.am.mingw
78c64f7c598f Some Makefile cleanups to remove generated files from Lee Roach. Fixes #6609.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 23338
diff changeset
24
23337
a7711cdafa6b Fix win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 19504
diff changeset
25 ./Makefile.am.mingw: ./Makefile.am
a7711cdafa6b Fix win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 19504
diff changeset
26 sed -e 's/^if\ INSTALL_SSL_CERTIFICATES/ifeq (\$$(INSTALL_SSL_CERTIFICATES), 1)/' ./Makefile.am > $@
23338
dd21962a8a1d re-Fix win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 23337
diff changeset
27