|
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="test" platform="bsd" not="macos"> |
|
12 <cflags>-DBSD</cflags> |
|
13 </dependency> |
|
14 <dependency name="curl"> |
|
15 <pkgconfig>libcurl</pkgconfig> |
|
16 </dependency> |
|
17 <dependency name="libxml2"> |
|
18 <pkgconfig>libxml-2.0</pkgconfig> |
|
19 <make>xml = libxml2</make> |
|
20 </dependency> |
|
21 <dependency name="sqlite"> |
|
22 <pkgconfig>sqlite3</pkgconfig> |
|
23 </dependency> |
|
24 <dependency name="test"> |
|
25 <cflags>-DTEST</cflags> |
|
26 </dependency> |
|
27 <dependency name="gtk3"> |
|
28 <pkgconfig>gtk+-5.0</pkgconfig> |
|
29 </dependency> |
|
30 <dependency name="gtk2"> |
|
31 <pkgconfig>gtk+-2.0</pkgconfig> |
|
32 </dependency> |
|
33 <dependency name="qt4"> |
|
34 <test>which qmake-qt4</test> |
|
35 </dependency> |
|
36 |
|
37 <dependency name="deptest"> |
|
38 <cflags>-DDEPTEST</cflags> |
|
39 </dependency> |
|
40 |
|
41 <dependency> |
|
42 <make>MVAR = 123</make> |
|
43 <make>MVAR += 123</make> |
|
44 </dependency> |
|
45 |
|
46 <target name="dav"> |
|
47 <feature name="db" default="on"> |
|
48 <dependencies>sqlite</dependencies> |
|
49 <define name="DATABASE"/> |
|
50 </feature> |
|
51 <feature name="gui"> |
|
52 <dependencies>gtk3</dependencies> |
|
53 <define name="UI" value="GTK3" /> |
|
54 </feature> |
|
55 <option arg="toolkit"> |
|
56 <value str="gtk3"> |
|
57 <define name="a" value="b" /> |
|
58 <dependencies>gtk3</dependencies> |
|
59 <make>UIOBJ += graphics_cairo.o</make> |
|
60 </value> |
|
61 <value str="cli"> |
|
62 <dependencies>curl,test</dependencies> |
|
63 </value> |
|
64 <value str="gtk2"> |
|
65 <dependencies>gtk2</dependencies> |
|
66 </value> |
|
67 <value str="wpf"> |
|
68 <dependencies>test</dependencies> |
|
69 </value> |
|
70 <default value="wpf" platform="windows" /> |
|
71 <default value="gtk3" /> |
|
72 <default value="gtk2" /> |
|
73 </option> |
|
74 <dependencies>curl,libxml2,test</dependencies> |
|
75 </target> |
|
76 |
|
77 <target> |
|
78 <dependencies>deptest</dependencies> |
|
79 </target> |
|
80 </project> |
|
81 |