Mercurial > pidgin
annotate share/ca-certs/Makefile.mingw @ 24087:40a4e02027f4
shuffle some code around to make sure are using the right errno,
References #7032
| author | Ka-Hing Cheung <khc@hxbc.us> |
|---|---|
| date | Thu, 11 Sep 2008 04:19:37 +0000 |
| parents | 78c64f7c598f |
| children |
| 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) |
|
23336
dd21962a8a1d
re-Fix win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
23335
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 |
|
24032
78c64f7c598f
Some Makefile cleanups to remove generated files from Lee Roach. Fixes #6609.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
23336
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 |
|
23335
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 |
|
24032
78c64f7c598f
Some Makefile cleanups to remove generated files from Lee Roach. Fixes #6609.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
23336
diff
changeset
|
22 clean: |
|
78c64f7c598f
Some Makefile cleanups to remove generated files from Lee Roach. Fixes #6609.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
23336
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:
23336
diff
changeset
|
24 |
|
23335
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 > $@ |
|
23336
dd21962a8a1d
re-Fix win32 build.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
23335
diff
changeset
|
27 |
