1 <?xml version="1.0" encoding="UTF-8"?> |
1 <?xml version="1.0" encoding="UTF-8"?> |
2 <project xmlns="http://unixwork.de/uwproj"> |
2 <project xmlns="http://unixwork.de/uwproj"> |
3 <config> |
3 <config> |
4 <var name="src_dir" exec="true">pwd</var> |
4 <var name="src_dir" exec="true">pwd</var> |
5 <var name="DOXYGEN" exec="true">command -v doxygen</var> |
5 <var name="DOXYGEN" exec="true">command -v doxygen</var> |
6 <var name="PANDOC" exec="true">command -v pandoc</var> |
6 <var name="PANDOC" exec="true">command -v pandoc</var> |
7 </config> |
7 </config> |
8 |
8 |
9 <dependency> |
9 <dependency> |
10 <make> |
10 <make> |
11 # library version |
11 # library version |
12 VERSION=3.1.0 |
12 VERSION=3.1.0 |
13 LIBVERSION=4.1.0 |
13 LIBVERSION=4.1.0 |
14 LIBVERSION_MAJOR=4 |
14 LIBVERSION_MAJOR=4 |
15 |
15 |
16 # build directory structure !! do not change or override !! |
16 # build directory structure !! do not change or override !! |
17 build_dir=${src_dir}/build |
17 build_dir=${src_dir}/build |
18 docs_dir=${src_dir}/build/docs |
18 docs_dir=${src_dir}/build/docs |
19 dist_dir=${src_dir}/dist |
19 dist_dir=${src_dir}/dist |
20 </make> |
20 </make> |
21 </dependency> |
21 </dependency> |
22 |
22 |
23 <dependency name="file-tools"> |
23 <dependency name="file-tools"> |
24 <make> |
24 <make> |
25 MKDIR=/bin/mkdir -p |
25 MKDIR=/bin/mkdir -p |
26 RMFILE=/bin/rm -f |
26 RMFILE=/bin/rm -f |
27 RMDIR=/bin/rm -f -R |
27 RMDIR=/bin/rm -f -R |
28 COPYFILE=/bin/cp -f |
28 COPYFILE=/bin/cp -f |
29 COPYALL=/bin/cp -f -R |
29 COPYALL=/bin/cp -f -R |
30 SYMLINK=/bin/ln -s |
30 SYMLINK=/bin/ln -s |
31 </make> |
31 </make> |
32 </dependency> |
32 </dependency> |
33 |
33 |
34 <dependency name="c" platform="mingw"> |
34 <dependency name="c" platform="mingw"> |
35 <lang>c</lang> |
35 <lang>c</lang> |
36 <make> |
36 <make> |
37 AR=ar |
37 AR=ar |
38 ARFLAGS=r |
38 ARFLAGS=r |
39 STLIB_EXT=.lib |
39 STLIB_EXT=.lib |
40 SHLIB_EXT=.dll |
40 SHLIB_EXT=.dll |
41 </make> |
41 </make> |
42 </dependency> |
42 </dependency> |
43 |
43 |
44 <dependency name="c" platform="macos"> |
44 <dependency name="c" platform="macos"> |
45 <lang>c</lang> |
45 <lang>c</lang> |
46 <make> |
46 <make> |
47 AR=ar |
47 AR=ar |
48 ARFLAGS=r |
48 ARFLAGS=r |
49 STLIB_EXT=.a |
49 STLIB_EXT=.a |
50 SHLIB_EXT=.dylib |
50 SHLIB_EXT=.dylib |
51 </make> |
51 </make> |
52 </dependency> |
52 </dependency> |
53 |
53 |
54 <dependency name="c" platform="unix"> |
54 <dependency name="c" platform="unix"> |
55 <lang>c</lang> |
55 <lang>c</lang> |
56 <make> |
56 <make> |
57 AR=ar |
57 AR=ar |
58 ARFLAGS=r |
58 ARFLAGS=r |
59 STLIB_EXT=.a |
59 STLIB_EXT=.a |
60 SHLIB_EXT=.so |
60 SHLIB_EXT=.so |
61 </make> |
61 </make> |
62 </dependency> |
62 </dependency> |
63 |
63 |
64 <dependency name="doxygen"> |
64 <dependency name="doxygen"> |
65 <test>test -n "$DOXYGEN"</test> |
65 <test>test -n "$DOXYGEN"</test> |
66 </dependency> |
66 </dependency> |
67 |
67 |
68 <dependency name="pandoc"> |
68 <dependency name="pandoc"> |
69 <test>test -n "$PANDOC"</test> |
69 <test>test -n "$PANDOC"</test> |
70 </dependency> |
70 </dependency> |
71 |
71 |
72 <dependency name="coverage"> |
72 <dependency name="coverage"> |
73 <cflags>\${COVERAGE_CFLAGS}</cflags> |
73 <cflags>\${COVERAGE_CFLAGS}</cflags> |
74 <ldflags>\${COVERAGE_LDFLAGS}</ldflags> |
74 <ldflags>\${COVERAGE_LDFLAGS}</ldflags> |
75 </dependency> |
75 </dependency> |
76 |
76 |
77 <target> |
77 <target> |
78 <option arg="with-docs"> |
78 <option arg="with-docs"> |
79 <value str="all"> |
79 <value str="all"> |
80 <dependencies>pandoc,doxygen</dependencies> |
80 <dependencies>pandoc,doxygen</dependencies> |
81 <make> |
81 <make> |
82 # Documentation |
82 # Documentation |
83 WITH_DOCS_API=yes |
83 WITH_DOCS_API=yes |
84 WITH_DOCS_HTML=yes |
84 WITH_DOCS_HTML=yes |
85 </make> |
85 </make> |
86 </value> |
86 </value> |
87 <value str="html"> |
87 <value str="html"> |
88 <dependencies>pandoc</dependencies> |
88 <dependencies>pandoc</dependencies> |
89 <make> |
89 <make> |
90 # Documentation |
90 # Documentation |
91 WITH_DOCS_HTML=yes |
91 WITH_DOCS_HTML=yes |
92 </make> |
92 </make> |
93 </value> |
93 </value> |
94 <value str="api"> |
94 <value str="api"> |
95 <dependencies>doxygen</dependencies> |
95 <dependencies>doxygen</dependencies> |
96 <make> |
96 <make> |
97 # Documentation |
97 # Documentation |
98 WITH_DOCS_API=yes |
98 WITH_DOCS_API=yes |
99 </make> |
99 </make> |
100 </value> |
100 </value> |
101 <value str="none"/> |
101 <value str="none"/> |
102 <default value="all"/> |
102 <default value="all"/> |
103 <default value="html"/> |
103 <default value="html"/> |
104 <default value="api"/> |
104 <default value="api"/> |
105 <default value="none"/> |
105 <default value="none"/> |
106 </option> |
106 </option> |
107 <feature name="coverage"> |
107 <feature name="coverage"> |
108 <dependencies>coverage</dependencies> |
108 <dependencies>coverage</dependencies> |
109 </feature> |
109 </feature> |
110 <dependencies>c,file-tools</dependencies> |
110 <dependencies>c,file-tools</dependencies> |
111 </target> |
111 </target> |
112 </project> |
112 </project> |
113 |
|