1 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 // Copyright (C) DIGITEO - 2010-2010 - Clément DAVID <clement.david@scilab.org>
4 // This file is distributed under the same license as the Scilab package.
8 // <-- Short Description -->
9 // Check that all computational function are available.
12 // load the source file list for languages
93 "extract_bit_16_MSB0",
94 "extract_bit_16_MSB1",
100 "extract_bit_32_LSB",
101 "extract_bit_32_MSB0",
102 "extract_bit_32_MSB1",
103 "extract_bit_32_RB0",
104 "extract_bit_32_RB1",
105 "extract_bit_32_UH0",
106 "extract_bit_32_UH1",
109 "extract_bit_8_MSB0",
110 "extract_bit_8_MSB1",
115 "extract_bit_u16_MSB1",
116 "extract_bit_u16_RB1",
117 "extract_bit_u16_UH1",
118 "extract_bit_u32_MSB1",
119 "extract_bit_u32_RB1",
120 "extract_bit_u32_UH1",
121 "extract_bit_u8_MSB1",
122 "extract_bit_u8_RB1",
123 "extract_bit_u8_UH1",
257 "relational_op_ui16",
258 "relational_op_ui32",
397 // load the scicos libs
404 // binary case or source case
405 if getos() <> "Windows" then
406 LIB = SCI + "/../../lib/scilab/libsciscicos_blocks" + getdynlibext();
408 LIB = SCI + "/modules/scicos_blocks/.libs/libsciscicos_blocks" + getdynlibext();
409 if ~isfile(LIB) then pause, end
411 if execstr("link(LIB, BLOCKS_C, ""c"");", "errcatch") <> 0 then pause, end
412 if execstr("link(LIB, BLOCKS_FORTRAN, ""f"");", "errcatch") <> 0 then pause, end
413 if execstr("link(LIB, BLOCKS_CPP, ""c"");", "errcatch") <> 0 then pause, end
416 LIBCCPP = SCI + "/bin/scicos_blocks" + getdynlibext();
417 LIBFOR = SCI + "/bin/scicos_blocks_f" + getdynlibext();
418 if ~isfile(LIBCCPP) then pause, end
419 if ~isfile(LIBFOR) then pause, end
421 if execstr("link(LIBCCPP, BLOCKS_C, ""c"");", "errcatch") <> 0 then pause, end
422 if execstr("link(LIBCCPP, BLOCKS_CPP, ""c"");", "errcatch") <> 0 then pause, end
423 if execstr("link(LIBFOR, BLOCKS_FORTRAN, ""f"");", "errcatch") <> 0 then pause, end