make/project.xml

changeset 1523
b5c32391802f
parent 1471
2309b553c604
child 1525
f675a4e99fb5
equal deleted inserted replaced
1520:03d703c3cfe9 1523:b5c32391802f
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <project version="0.4" xmlns="http://unixwork.de/uwproj"> 2 <project version="0.4" xmlns="http://unixwork.de/uwproj">
3 <config> 3 <config>
4 <prefix/>
5 <exec-prefix/>
6 <libdir/>
7 <includedir/>
8 <var name="VERSION">3.2.0</var>
9 <var name="LIBVERSION">6.0.0</var>
10 <var name="LIBVERSION_MAJOR">6</var>
4 <var name="root_dir" exec="true">pwd</var> 11 <var name="root_dir" exec="true">pwd</var>
5 <var name="DOXYGEN" exec="true">command -v doxygen</var> 12 <var name="build_dir">\${root_dir}/build</var>
13 <var name="docs_dir">\${root_dir}/build/docs</var>
14 <var name="dist_dir">\${root_dir}/dist</var>
15 <var name="DOXYGEN" exec="true" option-help="path of the Doxygen executable">command -v doxygen</var>
16 <var name="MKDIR">/bin/mkdir -p</var>
17 <var name="RMFILE">/bin/rm -f</var>
18 <var name="RMDIR">/bin/rm -f -R</var>
19 <var name="COPYFILE">/bin/cp -f</var>
20 <var name="COPYALL">/bin/cp -f -R</var>
21 <var name="SYMLINK">/bin/ln -s</var>
6 </config> 22 </config>
7 23 <config platform="bsd">
8 <dependency> 24 <var name="pkgconfigdir">\${exec_prefix}/libdata/pkgconfig</var>
9 <make> 25 </config>
10 # library version 26 <config not="bsd">
11 VERSION=3.2.0 27 <var name="pkgconfigdir">\${libdir}/pkgconfig</var>
12 LIBVERSION=6.0.0 28 </config>
13 LIBVERSION_MAJOR=6
14
15 # build directory structure !! do not change or override !!
16 root_dir=${root_dir}
17 build_dir=${root_dir}/build
18 docs_dir=${root_dir}/build/docs
19 dist_dir=${root_dir}/dist
20 </make>
21 </dependency>
22
23 <dependency>
24 <make>
25 MKDIR=/bin/mkdir -p
26 RMFILE=/bin/rm -f
27 RMDIR=/bin/rm -f -R
28 COPYFILE=/bin/cp -f
29 COPYALL=/bin/cp -f -R
30 SYMLINK=/bin/ln -s
31 </make>
32 </dependency>
33 29
34 <dependency platform="macos"> 30 <dependency platform="macos">
35 <lang>c</lang> 31 <lang>c</lang>
36 <make> 32 <make>
37 AR=ar 33 AR=ar
75 <lang>cpp</lang> 71 <lang>cpp</lang>
76 </dependency> 72 </dependency>
77 73
78 <dependency name="doxygen"> 74 <dependency name="doxygen">
79 <test>test -n "$DOXYGEN"</test> 75 <test>test -n "$DOXYGEN"</test>
80 <make>DOXYGEN=$DOXYGEN</make>
81 </dependency> 76 </dependency>
82 77
83 <dependency name="coverage" toolchain="gcc"> 78 <dependency name="coverage" toolchain="gcc">
84 <cflags>\${COVERAGE_CFLAGS}</cflags> 79 <cflags>\${COVERAGE_CFLAGS}</cflags>
85 <ldflags>\${COVERAGE_LDFLAGS}</ldflags> 80 <ldflags>\${COVERAGE_LDFLAGS}</ldflags>

mercurial