41 |
|
|
42 |
dnl extra C compiler options |
dnl extra C compiler options |
43 |
dnl |
dnl |
44 |
CC="$CC -m64" |
CFLAG_M64="-m64" |
45 |
CFLAGS="$CFLAGS -Wformat -Wreturn-type -Wuninitialized" |
CFLAGS="$CFLAGS -Wformat -Wreturn-type -Wuninitialized" |
46 |
|
AC_SUBST(CFLAG_M64) |
47 |
|
|
48 |
dnl |
dnl |
49 |
dnl Look for NVIDIA's nvcc compiler |
dnl Look for NVIDIA's nvcc compiler |
196 |
src/dnorm/Makefile |
src/dnorm/Makefile |
197 |
src/compiler/Makefile |
src/compiler/Makefile |
198 |
src/lib/Makefile |
src/lib/Makefile |
199 |
|
src/lib/build/Makefile |
200 |
|
src/lib/build/mk/build.gmk:src/lib/build/mk/build_gmk.in |
201 |
test/Makefile |
test/Makefile |
202 |
test/MIP/Makefile |
test/MIP/Makefile |
203 |
test/probe/Makefile |
test/probe/Makefile |
214 |
bin/install-sml-wrapper.sh:config/install-sml-wrapper_sh.in |
bin/install-sml-wrapper.sh:config/install-sml-wrapper_sh.in |
215 |
], [chmod +x bin/install-sml-wrapper.sh]) |
], [chmod +x bin/install-sml-wrapper.sh]) |
216 |
|
|
217 |
|
dnl |
218 |
|
dnl generate makefiles for runtime library builds |
219 |
|
dnl |
220 |
|
dnl usage: MK_BUILD_DIR(<build-dir>, <target-platform>, <options>) |
221 |
|
dnl |
222 |
|
AC_DEFUN([MK_BUILD_DIR], [ |
223 |
|
if test ! -d src/lib/build/$1 ; then |
224 |
|
mkdir src/lib/build/$1 |
225 |
|
fi |
226 |
|
[sed -e 's,@BUILD_TARGET@,$1,g' \ |
227 |
|
-e 's,@TARGET_PLATFORM@,$2,g' \ |
228 |
|
-e 's,@BUILD_OPTIONS@,$3,g' \ |
229 |
|
src/lib/build/mk/Makefile.in \ |
230 |
|
> src/lib/build/$1/Makefile.in] |
231 |
|
AC_CONFIG_FILES(src/lib/build/$1/Makefile) |
232 |
|
]) |
233 |
|
|
234 |
|
MK_BUILD_DIR(rt-c-f, c-target, [float]) |
235 |
|
MK_BUILD_DIR(rt-c-f-debug, c-target, [float debug]) |
236 |
|
|
237 |
AC_OUTPUT |
AC_OUTPUT |