|
|
<property name="header-path" value="${jdk-path}/../include"/> | <property name="header-path" value="${jdk-path}/../include"/> |
<property name="header-linux-path" value="${header-path}/linux" /> | <property name="header-linux-path" value="${header-path}/linux" /> |
| |
<echo message="gcc -o ${library-file} -shared -I${src-path} -I${header-linux-path} ${library-file} -static -lc"/> |
<echo message="gcc -o ${library-file} -shared -I${src-path} -I${header-linux-path} -fPIC ${library-file}"/> |
| |
<apply executable="gcc" dest="${eclipse-home}/" parallel="false"> | <apply executable="gcc" dest="${eclipse-home}/" parallel="false"> |
<arg value="-o"/> | <arg value="-o"/> |
|
|
<arg value="-I${src-path}"/> | <arg value="-I${src-path}"/> |
<arg value="-I${header-path}"/> | <arg value="-I${header-path}"/> |
<arg value="-I${header-linux-path}"/> | <arg value="-I${header-linux-path}"/> |
|
<arg value="-fPIC"/> |
<srcfile/> | <srcfile/> |
<arg value="-static"/> |
|
<arg value="-lc"/> |
|
<fileset dir="${src-path}" includes="*.c"/> | <fileset dir="${src-path}" includes="*.c"/> |
<mapper type="glob" from="*.c" to="*.o"/> | <mapper type="glob" from="*.c" to="*.o"/> |
</apply> | </apply> |
|
|
</target> | </target> |
| |
| |
</project> |
</project> |