|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <project> |
|
3 <dependency name="curl" platform="windows"> |
|
4 <cflags>-I/mingw/include</cflags> |
|
5 <ldflags>-lcurl</ldflags> |
|
6 </dependency> |
|
7 <dependency name="curl" platform="macos"> |
|
8 <cflags type="exec">curl-config --cflags</cflags> |
|
9 <ldflags type="exec">curl-config --ldflags</ldflags> |
|
10 </dependency> |
|
11 <dependency name="curl"> |
|
12 <pkgconfig>libcurl</pkgconfig> |
|
13 </dependency> |
|
14 <dependency name="curl"> |
|
15 <test>which curl-config</test> |
|
16 <cflags type="exec">curl-config --cflags</cflags> |
|
17 <ldflags type="exec">curl-config --ldflags</ldflags> |
|
18 </dependency> |
|
19 |
|
20 <dependency name="libxml2" platform="windows"> |
|
21 <cflags type="exec">xml2-config --cflags</cflags> |
|
22 <ldflags type="exec">xml2-config --libs</ldflags> |
|
23 </dependency> |
|
24 <dependency name="libxml2" platform="macos"> |
|
25 <cflags type="exec">xml2-config --cflags</cflags> |
|
26 <ldflags type="exec">xml2-config --libs</ldflags> |
|
27 </dependency> |
|
28 <dependency name="libxml2"> |
|
29 <pkgconfig>libxml-2.0</pkgconfig> |
|
30 </dependency> |
|
31 <dependency name="libxml2"> |
|
32 <cflags type="exec">xml2-config --cflags</cflags> |
|
33 <ldflags type="exec">xml2-config --libs</ldflags> |
|
34 </dependency> |
|
35 |
|
36 <dependency name="openssl" platform="windows"> |
|
37 <ldflags>-lssl -lcrypto</ldflags> |
|
38 </dependency> |
|
39 <dependency name="openssl" platform="macos"> |
|
40 <ldflags>-framework CoreFoundation</ldflags> |
|
41 </dependency> |
|
42 <dependency name="openssl" platform="bsd" not="macos"> |
|
43 <ldflags>-lssl -lcrypto</ldflags> |
|
44 </dependency> |
|
45 <dependency name="openssl"> |
|
46 <pkgconfig>openssl</pkgconfig> |
|
47 </dependency> |
|
48 |
|
49 <dependency> |
|
50 <ldflags>-lpthread</ldflags> |
|
51 </dependency> |
|
52 |
|
53 <dependency platform="bsd" not="macos"> |
|
54 <cflags>-I/usr/local/include</cflags> |
|
55 <ldflags>-L/usr/local/lib</ldflags> |
|
56 </dependency> |
|
57 |
|
58 <dependency platform="macos"> |
|
59 <make>OBJ_EXT = .o</make> |
|
60 <make>LIB_EXT = .a</make> |
|
61 </dependency> |
|
62 <dependency platform="unix" not="macos"> |
|
63 <make>OBJ_EXT = .o</make> |
|
64 <make>LIB_EXT = .a</make> |
|
65 </dependency> |
|
66 |
|
67 |
|
68 <target name="dav"> |
|
69 <dependencies>curl,libxml2,openssl</dependencies> |
|
70 </target> |
|
71 </project> |
|
72 |