[r815644] Change hythread API to use 'const char*' for constant strings rather than
[drlvm.git] / make / depends.xml
blobab52fac0d69e6827b106e4fdfba7ec37958fb716
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3     Licensed to the Apache Software Foundation (ASF) under one or more
4     contributor license agreements.  See the NOTICE file distributed with
5     this work for additional information regarding copyright ownership.
6     The ASF licenses this file to You under the Apache License, Version 2.0
7     (the "License"); you may not use this file except in compliance with
8     the License.  You may obtain a copy of the License at
9   
10        http://www.apache.org/licenses/LICENSE-2.0
11   
12     Unless required by applicable law or agreed to in writing, software
13     distributed under the License is distributed on an "AS IS" BASIS,
14     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15     See the License for the specific language governing permissions and
16     limitations under the License.
17 -->
18 <project name="drlvm-depends" default="check">
20     <dirname property="dd.basedir" file="${ant.file.drlvm-depends}"/>
21     <import file="${dd.basedir}/properties.xml"/>
22     
23     <target name="check">
24         <check-one-file dest="${cpptasks.jar}" src="${cpptasks.url}"/>
25         <poll-modules target="check-depends" dir="${dd.basedir}" includes="**/*.xml"/>
26         <fail>
27             <condition>
28                 <not>
29                     <and>
30                     <available file="${hy.hdk}/include"/>
31                     <available file="${hy.hdk}/lib"/>
32                     </and>
33                 </not>
34             </condition>
35 ...
37 Missing dependency: pre-built class library (or HDK)
38 at ${hy.hdk}. 
39 You may point to the correct location via "hy.hdk" property:
40 "ant -Dhy.hdk=a-hdk-root"
41         </fail>
42     </target>
43         
44     <target name="fetch">
45         <fetch dep="cpptasks"/>
46         <poll-modules target="fetch-depends" dir="${dd.basedir}" includes="**/*.xml"/>
47     </target>
48     
49 </project>