BackDoor

BackDoor Svn Source Tree

Root/builder.sce

Source at commit HEAD created 1 year 6 months ago.
By fbergero,
1// Copyright (C) 2008 - INRIA
2// Copyright (C) 2009 - DIGITEO
3
4// This file is released into the public domain
5
6mode(-1);
7lines(0);
8
9TOOLBOX_NAME = "backdoor";
10TOOLBOX_TITLE = "TCP/UDP Backdoor";
11toolbox_dir = get_absolute_file_path("builder.sce");
12
13// Check Scilab's version
14// =============================================================================
15
16try
17v = getversion("scilab");
18catch
19error(gettext("Scilab 5.2 or more is required."));
20end
21
22if v(2) < 2 then
23// new API in scilab 5.2
24error(gettext('Scilab 5.2 or more is required.'));
25end
26
27// Check development_tools module avaibility
28// =============================================================================
29
30if ~with_module('development_tools') then
31 error(msprintf(gettext('%s module not installed."),'development_tools'));
32end
33
34// Action
35// =============================================================================
36
37tbx_builder_macros(toolbox_dir);
38tbx_builder_src(toolbox_dir);
39tbx_builder_gateway(toolbox_dir);
40tbx_builder_help(toolbox_dir);
41tbx_build_loader(TOOLBOX_NAME, toolbox_dir);
42tbx_build_cleaner(TOOLBOX_NAME, toolbox_dir);
43
44// Clean variables
45// =============================================================================
46
47clear toolbox_dir TOOLBOX_NAME TOOLBOX_TITLE;

Archive Download this file

Revision: HEAD