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