make/project.xml

Sun, 16 Apr 2023 14:08:19 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 16 Apr 2023 14:08:19 +0200
changeset 745
aea83a43b09a
parent 742
7e67689241fd
child 746
a569148841ff
permissions
-rw-r--r--

merge

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

mercurial