"Fossies" - the Fresh Open Source Software Archive

Member "sip-0.12.1/config/libsip_build.sce" (20 Sep 2013, 2167 Bytes) of package /linux/privat/sip-0.12.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Scilab source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "libsip_build.sce": 0.5.6_vs_0.12.1.

    1 // libsio_build.sce:  defines sources and scilab function names
    2 // to build libsip C library. This file is to be called from 
    3 // the "bootstrap" script. It is NOT ran by configure.
    4 //
    5 mode(-1);
    6 
    7 chdir(get_absolute_file_path('libsip_build.sce') + '/../');
    8 getd 'config';
    9 
   10 chdir 'src';
   11 
   12 ilib_name  = 'libsip'             // interface library name 
   13 //sources = 'imwrite.c ...
   14 //           canny_int.c deskew_int.c dewarp_int.c';
   15 
   16 sources = 'hello_int.c sip_common.c misc_int.c imvariance_int.c ...
   17            segment_int.c img_int.c analysis_int.c morphology_int.c ...
   18            unwrapp_int.c unwrapl_int.c ...
   19            imfinfo.c imread.c imwrite.c mogrify_int.c ...
   20            canny_int.c deskew_int.c dewarp_int.c';
   21 
   22 // table of (scilab_name, interface-name) 
   23 table = [ ...
   24          'imread',     'int_imread';
   25          'imwrite',    'int_imwrite';
   26           'imfinfo',    'int_imfinfo';
   27           'deskew',      'int_deskew';
   28           'dewarp',      'int_dewarp';
   29           'imvariance', 'imvariance_int';
   30           'sip_unwrapl_c', 'unwrapl_c_int';
   31           'sip_unwrapp_c', 'unwrapp_c_int';
   32           'mogrify',    'mogrify_int';
   33           'edilate',    'edilate_int';
   34           'percol',     'percol_int';
   35           'canny_c',      'canny_int';
   36           'drawline',   'drawline_int';
   37           'skel',       'skel_int';
   38           'thin',       'thin_int';
   39           'bwdist',     'bwdist_int';
   40           'watershed',  'watershed_int';
   41           'bwlabel',    'bwlabel_int';
   42           'rgb2hsv',    'rgb2hsv_int';
   43           'hsv2rgb',    'hsv2rgb_int';
   44           'sip_setenv', 'sip_setenv_int';
   45           'sip_set_verbose', 'sip_set_verbose_int';
   46           'sip_get_verbose', 'sip_get_verbose_int';
   47           'hello_sip',  'hello_int'];
   48 
   49 my_ilib_gen_gateway(ilib_name,table)
   50 
   51 unix_g('../config/subst_input_files.sh ' + ilib_name + ' ' + sources);
   52 chdir '../macros';
   53 unix_g('../config/subst_input_files.sh');
   54 chdir '../images';
   55 unix_g('../config/subst_input_files.sh');
   56 chdir '../images/photonics';
   57 unix_g('../../config/subst_input_files.sh');
   58 chdir '../../man';
   59 unix_g('../config/subst_input_files.sh');
   60 
   61 chdir '../config';
   62 my_ilib_gen_loader(ilib_name,table,[])