diff options
author | Shashank | 2017-05-29 12:40:26 +0530 |
---|---|---|
committer | Shashank | 2017-05-29 12:40:26 +0530 |
commit | 0345245e860375a32c9a437c4a9d9cae807134e9 (patch) | |
tree | ad51ecbfa7bcd3cc5f09834f1bb8c08feaa526a4 /modules/demo_tools | |
download | scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.gz scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.bz2 scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.zip |
CMSCOPE changed
Diffstat (limited to 'modules/demo_tools')
76 files changed, 4491 insertions, 0 deletions
diff --git a/modules/demo_tools/Makefile b/modules/demo_tools/Makefile new file mode 100755 index 000000000..f94d5d891 --- /dev/null +++ b/modules/demo_tools/Makefile @@ -0,0 +1,1069 @@ +# Makefile.in generated by automake 1.14.1 from Makefile.am. +# modules/demo_tools/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994-2013 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) 2007 - INRIA - Pierre MARECHAL +# +# This file is distributed under the same license as the Scilab package. + +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr> +# Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr> +# +# This file must be used under the terms of the CeCILL. +# This source file is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at +# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +# + +########## +### Makefile included stuff +### Target, variable, suffixes which are supposed to be useful in every makefile.am +########## + + +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/scilab +pkgincludedir = $(includedir)/scilab +pkglibdir = $(libdir)/scilab +pkglibexecdir = $(libexecdir)/scilab +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = x86_64-unknown-linux-gnu +host_triplet = x86_64-unknown-linux-gnu +DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \ + $(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs +am__append_1 = java +subdir = modules/demo_tools +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \ + $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \ + $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \ + $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \ + $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \ + $(top_srcdir)/m4/intel_compiler.m4 \ + $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \ + $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \ + $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \ + $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \ + $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \ + $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \ + $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \ + $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_$(V)) +am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(libdemo_tools_la_etcdir)" \ + "$(DESTDIR)$(libdemo_tools_la_guidir)" \ + "$(DESTDIR)$(libdemo_tools_la_imagesdir)" \ + "$(DESTDIR)$(libdemo_tools_la_rootdir)" +DATA = $(libdemo_tools_la_etc_DATA) $(libdemo_tools_la_gui_DATA) \ + $(libdemo_tools_la_images_DATA) $(libdemo_tools_la_root_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing aclocal-1.14 +ALL_LINGUAS = en_US fr_FR zh_CN zh_TW ru_RU ca_ES de_DE es_ES pt_BR ja_JP it_IT uk_UA pl_PL cs_CZ +ALL_LINGUAS_DOC = en_US fr_FR pt_BR ja_JP ru_RU +AMTAR = $${TAR-tar} +AM_DEFAULT_VERBOSITY = 1 +ANT = /usr/bin/ant +ANTLR = /usr/share/java/antlr.jar +AR = ar +ARPACK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -larpack +ASM3 = /usr/share/java/asm3-3.3.2.jar +AUTOCONF = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing autoconf +AUTOHEADER = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing autoheader +AUTOMAKE = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing automake-1.14 +AVALON_FRAMEWORK = /home/shashank/scilab-master_5.5.2/thirdparty/avalon-framework.jar +AWK = mawk +BATIK = /home/shashank/scilab-master_5.5.2/thirdparty/batik-all-1.7.jar +BLAS_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lblas +CC = gcc +CCACHE = +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 +CHECKSTYLE = +COBERTURA = /usr/share/java/cobertura.jar +COMMONS_BEANUTILS = +COMMONS_IO = /home/shashank/scilab-master_5.5.2/thirdparty/commons-io.jar +COMMONS_LOGGING = /home/shashank/scilab-master_5.5.2/thirdparty/commons-logging.jar +CPP = gcc -E +CPPFLAGS = +CURL_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +CURL_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/curl-config +CURL_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lcurl -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lssl -lcrypto -lrt -lz +CURL_VERSION = libcurl 7.19.7 +CXX = g++ +CXXCPP = g++ -E +CXXDEPMODE = depmode=gcc3 +CXXFLAGS = -g -O2 +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEMOTOOLS_ENABLE = yes +DEPDIR = .deps +DLLTOOL = false +DOCBOOK_ROOT = /home/shashank/scilab-master_5.5.2/thirdparty/docbook/ +DOXYGEN_BIN = +DSYMUTIL = +DUMPBIN = +ECHO_C = +ECHO_N = -n +ECHO_T = +ECJ = /home/shashank/scilab-master_5.5.2/thirdparty/ecj.jar +EGREP = /bin/grep -E +EXEEXT = +F77 = gfortran +FFLAGS = -g -O2 +FFTW3_LIB = -L/home/shashank/scilab-master_5.5.2/usr/lib -lfftw3 +FFTW_ENABLE = yes +FGREP = /bin/grep -F +FLEXDOCK = /home/shashank/scilab-master_5.5.2/thirdparty/flexdock-1.2.4.jar +FLIBS = -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lpthread -ldl -lcurses -lgfortran -lm -lquadmath +FOP = /home/shashank/scilab-master_5.5.2/thirdparty/fop.jar +FREEHEP_GRAPHICS2D = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphics2d.jar +FREEHEP_GRAPHICSIO = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphicsio.jar +FREEHEP_GRAPHICSIO_EMF = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphicsio-emf.jar +FREEHEP_IO = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-io.jar +FREEHEP_UTIL = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-util.jar +GENHTML = +GETTEXT_MACRO_VERSION = 0.19 +GIWS_BIN = +GLUEGEN2_RT = /home/shashank/scilab-master_5.5.2/thirdparty/gluegen2-rt.jar +GMSGFMT = /usr/bin/msgfmt +GMSGFMT_015 = /usr/bin/msgfmt +GRAPHICS_ENABLE = yes +GREP = /bin/grep +GUI_ENABLE = yes +HDF5_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +HDF5_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lhdf5 -lhdf5_hl +HELP_ENABLE = yes +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +INTLLIBS = +INTL_MACOSX_LIBS = +JAR = /usr/lib/jvm/java-8-openjdk-amd64/bin/jar +JAVA = /usr/lib/jvm/java-8-openjdk-amd64/bin/java +JAVAC = /usr/lib/jvm/java-8-openjdk-amd64/bin/javac +JAVAC_DEBUG = off +JAVADOC = /usr/lib/jvm/java-8-openjdk-amd64/bin/javadoc +JAVAH = /usr/lib/jvm/java-8-openjdk-amd64/bin/javah +JAVASCI_ENABLE = yes +JAVA_ENABLE = yes +JAVA_G = /usr/lib/jvm/java-8-openjdk-amd64/bin/java +JAVA_HOME = /usr/lib/jvm/java-8-openjdk-amd64 +JAVA_JNI_INCLUDE = -I/usr/lib/jvm/java-8-openjdk-amd64/include -I/usr/lib/jvm/java-8-openjdk-amd64/include/linux +JAVA_JNI_LIBS = -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 -ljava -lverify -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server -ljvm +JDB = /usr/lib/jvm/java-8-openjdk-amd64/bin/jdb +JEUCLID_CORE = /home/shashank/scilab-master_5.5.2/thirdparty/jeuclid-core.jar +JGRAPHX = /home/shashank/scilab-master_5.5.2/thirdparty/jgraphx.jar +JHALL = /home/shashank/scilab-master_5.5.2/thirdparty/jhall.jar +JLATEXMATH = /home/shashank/scilab-master_5.5.2/thirdparty/jlatexmath-1.0.3.jar +JLATEXMATH_FOP = /home/shashank/scilab-master_5.5.2/thirdparty/jlatexmath-fop-1.0.3.jar +JOGL2 = /home/shashank/scilab-master_5.5.2/thirdparty/jogl2.jar +JROSETTA_API = /home/shashank/scilab-master_5.5.2/thirdparty/jrosetta-API.jar +JROSETTA_ENGINE = /home/shashank/scilab-master_5.5.2/thirdparty/jrosetta-engine.jar +JUNIT4 = /usr/share/java/junit4.jar +LAPACK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -llapack +LCOV = +LD = /usr/bin/ld -m elf_x86_64 +LDFLAGS = -Wl,--no-as-needed +LIBICONV = -liconv +LIBINTL = +LIBM = -lm +LIBOBJS = +LIBS = -lpthread -ldl -lcurses -lm +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LIPO = +LN_S = ln -s +LOGGING_LEVEL = SEVERE +LOOKS = /home/shashank/scilab-master_5.5.2/thirdparty/looks-2.1.1.jar +LTLIBICONV = -liconv +LTLIBINTL = +LTLIBOBJS = +MAINT = # +MAKEINFO = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing makeinfo +MANIFEST_TOOL = : +MATIO_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +MATIO_ENABLE = yes +MATIO_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lm -lz -lmatio -lhdf5 +MKDIR_P = /bin/mkdir -p +MPI_ENABLE = no +MSGCAT = /usr/bin/msgcat +MSGFMT = /usr/bin/msgfmt +MSGFMT_015 = /usr/bin/msgfmt +MSGMERGE = /usr/bin/msgmerge +NM = nm +NMEDIT = +OBJDUMP = objdump +OBJEXT = o +OCAMLC = ocamlc +OCAMLDEP = ocamldep +OCAMLLEX = ocamllex +OCAMLOPT = ocamlopt +OCAMLYACC = ocamlyacc +OPENMPI_CC = +OPENMPI_CFLAGS = +OPENMPI_CXX = +OPENMPI_CXXFLAGS = +OPENMPI_LIBS = +OPENMP_CFLAGS = -fopenmp +OPENMP_CXXFLAGS = -fopenmp +OPENMP_ENABLE = yes +OPENMP_LIBS = -lgomp -lstdc++ +OTOOL = +OTOOL64 = +PACKAGE = scilab +PACKAGE_BUGREPORT = http://bugzilla.scilab.org/ +PACKAGE_NAME = Scilab +PACKAGE_STRING = Scilab 5 +PACKAGE_TARNAME = scilab +PACKAGE_URL = +PACKAGE_VERSION = 5 +PATH_SEPARATOR = : +PCRE_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +PCRE_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/pcre-config +PCRE_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lpcreposix -lpcre +PCRE_VERSION = 8.35 +PKG_CONFIG = /usr/bin/pkg-config +POSUB = po +POW_LIB = +PYTHON = +RANLIB = ranlib +RELOCATABLE = no +RT_LIB = -lrt +SAXON = /home/shashank/scilab-master_5.5.2/thirdparty/saxon9he.jar +SCILAB_BINARY_VERSION = 5.5.2 +SCILAB_LIBRARY_VERSION = 5:5:2 +SCILAB_VERSION_MAINTENANCE = 2 +SCILAB_VERSION_MAJOR = 5 +SCILAB_VERSION_MINOR = 5 +SCIRENDERER = ${modules.dir}/scirenderer/${build.jar.dir}/scirenderer.jar +SCIRENDERER_CP = $SCILAB/modules/scirenderer/jar/scirenderer.jar +SCI_CFLAGS = -D_LARGEFILE64_SOURCE -DNDEBUG -m64 -fno-stack-protector +SCI_CXXFLAGS = -DNDEBUG -fno-stack-protector +SCI_FFLAGS = -DNDEBUG -m64 -fPIC +SCI_LDFLAGS = +SED = /bin/sed +SET_MAKE = +SET_RELOCATABLE = +SHELL = /bin/bash +SKINLF = /home/shashank/scilab-master_5.5.2/thirdparty/skinlf.jar +SPLINT = no +STRIP = strip +SWIG_BIN = +SWIG_JAVA = +SWIG_RUNTIME_LIBS_DIR = +SWIG_SCILAB = +TCLTK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -ltk8.5 -L/home/shashank/scilab-master_5.5.2/usr/lib -ltcl8.5 -ldl +TCL_INC_PATH = -I/home/shashank/scilab-master_5.5.2/usr/include +TK_INC_PATH = -I/home/shashank/scilab-master_5.5.2/usr/include +UMFPACK_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +UMFPACK_ENABLE = yes +UMFPACK_LIB = -L/home/shashank/scilab-master_5.5.2/usr/lib -lumfpack -lamd +USE_NLS = yes +VERSION = 5 +WITH_OCAML = +WITH_TKSCI = yes +XCOS_ENABLE = yes +XGETTEXT = /usr/bin/xgettext +XGETTEXT_015 = /usr/bin/xgettext +XGETTEXT_EXTRA_OPTIONS = +XMKMF = +XMLGRAPHICS_COMMONS = /home/shashank/scilab-master_5.5.2/thirdparty/xmlgraphics-commons-1.4.jar +XML_APIS_EXT = /home/shashank/scilab-master_5.5.2/thirdparty/xml-apis-ext.jar +XML_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/xml2-config +XML_FLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include/libxml2 +XML_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lxml2 -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lz -lm -ldl +XML_VERSION = 2.9.1 +X_CFLAGS = +X_EXTRA_LIBS = +X_LIBS = +X_PRE_LIBS = +abs_builddir = /home/shashank/scilab-master_5.5.2/modules/demo_tools +abs_srcdir = /home/shashank/scilab-master_5.5.2/modules/demo_tools +abs_top_builddir = /home/shashank/scilab-master_5.5.2 +abs_top_srcdir = /home/shashank/scilab-master_5.5.2 +ac_ct_AR = ar +ac_ct_CC = gcc +ac_ct_CXX = g++ +ac_ct_DUMPBIN = +ac_ct_F77 = gfortran +am__include = include +am__leading_dot = . +am__quote = +am__tar = $${TAR-tar} chof - "$$tardir" +am__untar = $${TAR-tar} xf - +bindir = ${exec_prefix}/bin +build = x86_64-unknown-linux-gnu +build_alias = +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = unknown +builddir = . +cxx_present = yes +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-unknown-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = unknown +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = ${SHELL} /home/shashank/scilab-master_5.5.2/config/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +mandir = ${datarootdir}/man +mkdir_p = $(MKDIR_P) +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /usr/local +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target_alias = +top_build_prefix = ../../ +top_builddir = ../.. +top_srcdir = ../.. + +#### Target ###### +modulename = demo_tools + +#### demo_tools : Conf files #### +libdemo_tools_la_rootdir = $(mydatadir) +libdemo_tools_la_root_DATA = license.txt + +#### demo_tools : init scripts #### +libdemo_tools_la_etcdir = $(mydatadir)/etc +libdemo_tools_la_etc_DATA = etc/demo_tools.quit etc/demo_tools.start + +#### demo_tools : XML gui #### +libdemo_tools_la_guidir = $(mydatadir)/gui +libdemo_tools_la_gui_DATA = gui/demo_gui.xml + +#### demo_tools : images files #### +libdemo_tools_la_imagesdir = $(mydatadir)/images +libdemo_tools_la_images_DATA = images/logo_scilab.png + +# Where all the Scilab stuff is installed (macros, help, ...) +mydatadir = $(pkgdatadir)/modules/$(modulename) + +# Set AM_* SCI detected settings +AM_CPPFLAGS = $(SCI_CPPFLAGS) +AM_CFLAGS = $(SCI_CFLAGS) +AM_CXXFLAGS = $(SCI_CXXFLAGS) +# append includes to AM_FFLAGS to manage fortran includes +AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/ + +# Tag shared libraries with the Scilab version +AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION) + +# splint options +SPLINT_OPTIONS = -weak -booltype BOOL + +########################### JAVA ###################################### +#### We are delegating java compilation to ant... Thanks to that +#### the procedure will be the same with Microsoft Windows (C) +#### and Linux/Unix +####################################################################### +TARGETS_ALL = $(am__append_1) + +################ MACROS ###################### +# Rule to build a macro +# NOT USED AT THE MOMENT +SUFFIXES = .sci + +########### INSTALL DOCUMENTATION ################### + +# Install documentation files into the right target +# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because +# automake needs the html files to be present which is not the case when +# we are building Scilab + +# Where it should be installed +pkgdocdir = $(mydatadir) + +# What is the mask of the help source +DOCMASKXML = *.xml + +# What is the mask of the MathML sources +DOCMASKMML = *.mml + +########### INSTALL DATA ################### +# Install macros, help & demos +# Where it should be installed +pkgmacrosdir = $(mydatadir) +# Which directory we process +MACRODIRS = macros/ +# Mask of the Scilab sources macros +MACROMASK = *.sci +# Mask of the Scilab executable sources macros +MACROBUILDMASK = *.sce +# Mask of the Scilab compiled macros +MACROBINMASK = *.bin +# List of the standard directory for tests +TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java +# Where the demos should be installed +pkgdemosdir = $(mydatadir) +# List of the standard directory for demos +DEMOS_DIR = demos +# List of the standard directory for examples +EXAMPLES_DIR = examples +# Where to export JAVA archives (.jar) +JARDIR = jar/ +# JAR files mask +JARMASK = *.jar +# Chapter file +HELP_CHAPTERDIR = help/ +HELP_CHAPTERFILE = addchapter.sce +HELP_CHAPTERLANG = en_US fr_FR pt_BR +all: all-am + +.SUFFIXES: +.SUFFIXES: .sci .bin +$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/demo_tools/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign modules/demo_tools/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; +$(top_srcdir)/Makefile.incl.am: + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: # $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): # $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-libdemo_tools_la_etcDATA: $(libdemo_tools_la_etc_DATA) + @$(NORMAL_INSTALL) + @list='$(libdemo_tools_la_etc_DATA)'; test -n "$(libdemo_tools_la_etcdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libdemo_tools_la_etcdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libdemo_tools_la_etcdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libdemo_tools_la_etcdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libdemo_tools_la_etcdir)" || exit $$?; \ + done + +uninstall-libdemo_tools_la_etcDATA: + @$(NORMAL_UNINSTALL) + @list='$(libdemo_tools_la_etc_DATA)'; test -n "$(libdemo_tools_la_etcdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libdemo_tools_la_etcdir)'; $(am__uninstall_files_from_dir) +install-libdemo_tools_la_guiDATA: $(libdemo_tools_la_gui_DATA) + @$(NORMAL_INSTALL) + @list='$(libdemo_tools_la_gui_DATA)'; test -n "$(libdemo_tools_la_guidir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libdemo_tools_la_guidir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libdemo_tools_la_guidir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libdemo_tools_la_guidir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libdemo_tools_la_guidir)" || exit $$?; \ + done + +uninstall-libdemo_tools_la_guiDATA: + @$(NORMAL_UNINSTALL) + @list='$(libdemo_tools_la_gui_DATA)'; test -n "$(libdemo_tools_la_guidir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libdemo_tools_la_guidir)'; $(am__uninstall_files_from_dir) +install-libdemo_tools_la_imagesDATA: $(libdemo_tools_la_images_DATA) + @$(NORMAL_INSTALL) + @list='$(libdemo_tools_la_images_DATA)'; test -n "$(libdemo_tools_la_imagesdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libdemo_tools_la_imagesdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libdemo_tools_la_imagesdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libdemo_tools_la_imagesdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libdemo_tools_la_imagesdir)" || exit $$?; \ + done + +uninstall-libdemo_tools_la_imagesDATA: + @$(NORMAL_UNINSTALL) + @list='$(libdemo_tools_la_images_DATA)'; test -n "$(libdemo_tools_la_imagesdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libdemo_tools_la_imagesdir)'; $(am__uninstall_files_from_dir) +install-libdemo_tools_la_rootDATA: $(libdemo_tools_la_root_DATA) + @$(NORMAL_INSTALL) + @list='$(libdemo_tools_la_root_DATA)'; test -n "$(libdemo_tools_la_rootdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libdemo_tools_la_rootdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libdemo_tools_la_rootdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libdemo_tools_la_rootdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libdemo_tools_la_rootdir)" || exit $$?; \ + done + +uninstall-libdemo_tools_la_rootDATA: + @$(NORMAL_UNINSTALL) + @list='$(libdemo_tools_la_root_DATA)'; test -n "$(libdemo_tools_la_rootdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libdemo_tools_la_rootdir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) check-local +check: check-am +all-am: Makefile $(DATA) all-local +installdirs: + for dir in "$(DESTDIR)$(libdemo_tools_la_etcdir)" "$(DESTDIR)$(libdemo_tools_la_guidir)" "$(DESTDIR)$(libdemo_tools_la_imagesdir)" "$(DESTDIR)$(libdemo_tools_la_rootdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-local mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-local + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-data-local install-libdemo_tools_la_etcDATA \ + install-libdemo_tools_la_guiDATA \ + install-libdemo_tools_la_imagesDATA \ + install-libdemo_tools_la_rootDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: install-html-local + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-libdemo_tools_la_etcDATA \ + uninstall-libdemo_tools_la_guiDATA \ + uninstall-libdemo_tools_la_imagesDATA \ + uninstall-libdemo_tools_la_rootDATA + +.MAKE: check-am install-am install-strip + +.PHONY: all all-am all-local check check-am check-local clean \ + clean-generic clean-libtool clean-local cscopelist-am ctags-am \ + distclean distclean-generic distclean-libtool distclean-local \ + distdir dvi dvi-am html html-am info info-am install \ + install-am install-data install-data-am install-data-local \ + install-dvi install-dvi-am install-exec install-exec-am \ + install-html install-html-am install-html-local install-info \ + install-info-am install-libdemo_tools_la_etcDATA \ + install-libdemo_tools_la_guiDATA \ + install-libdemo_tools_la_imagesDATA \ + install-libdemo_tools_la_rootDATA install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ + uninstall-am uninstall-libdemo_tools_la_etcDATA \ + uninstall-libdemo_tools_la_guiDATA \ + uninstall-libdemo_tools_la_imagesDATA \ + uninstall-libdemo_tools_la_rootDATA + + +# This target enables tests for Scilab +check-local: $(top_builddir)/scilab-bin test + if test -d $(mydatadir)/tests; then \ + @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \ + fi +check-code: + if test -f build.xml; then \ + $(ANT) checkstyle; \ + fi + if test -x "$(SPLINT)"; then \ + $(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \ + fi +java: +# Some configurations needs to export JAVA_HOME in the current env + @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \ + if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ + if test -f build.xml -a $$USEANT -eq 1; then \ + $(ANT); \ + fi + +clean-java: +# Some configurations needs to export JAVA_HOME in the current env + @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \ + if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ + if test -f build.xml -a $$USEANT -eq 1; then \ + $(ANT) clean; \ + fi; + +# If the user request for the SWIG generation of the wrappers Java => C/C++ +# We call the target swig-build on the variable SWIG_WRAPPERS + +#swig: $(SWIG_WRAPPERS) +# @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \ +# SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \ +# if test -n "$(SWIG_WRAPPERS)"; then \ +# for file in $(SWIG_WRAPPERS) ; do \ +# echo "Swig process of $$file (Java) ..."; \ +# $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \ +# done; \ +# fi + +#swig-scilab: $(SWIG_SCILAB_WRAPPERS) +# @SWIG_OUTDIR=src/swig/; \ +# if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \ +# for file in $(SWIG_SCILAB_WRAPPERS) ; do \ +# echo "Swig process of $$file (Scilab) ..."; \ +# $(SWIG_BIN) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \ +# done; \ +# fi + +# If the user request for the SWIG generation of the wrappers Java => C/C++ +# We call the target swig-build on the variable SWIG_WRAPPERS + +#giws: $(GIWS_WRAPPERS) +# @GIWS_OUTPUTDIR=src/jni/; \ +# MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \ +# if test -n "$(GIWS_WRAPPERS)"; then \ +# for file in $(GIWS_WRAPPERS) ; do \ +# echo "GIWS process of $$file ..."; \ +# if test -z "$(GIWS_OPTIONS)"; then \ +# $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \ +# else \ +# echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \ +# $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \ +# fi \ +# done; \ +# fi + +#giws-exception: +# @GIWS_OUTPUTDIR=src/jni/;\ +# echo "GIWS: Generation of exception class ..."; \ +# $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR + +macros: + -@( if test ! -x $(top_builddir)/scilab-bin; then \ + echo "Error : Cannot build $< : Scilab has not been built"; \ + else \ + $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\ + fi) + +# Removes the macros +clean-macros: +# Removes macros (*.bin generated from .sci) + @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \ + echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \ + rm -f $(builddir)/$$dir/$(MACROBINMASK); \ + done + +test: +# More tests could be added here + @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ + if test -f build.xml -a $$USEANT -eq 1; then \ + $(ANT) test; \ + fi + +all-local: $(TARGETS_ALL) + +.sci.bin: + -@( if test ! -x $(top_builddir)/scilab-bin; then \ + echo "Error : Cannot build $< : Scilab has not been build"; \ + else \ + echo "Creating $@"; \ + $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \ + fi ) + +install-html-local: + +install-data-local-local: +# Mainly for javasci + @if test -d $(srcdir)/javadoc; then \ + cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \ + fi +# If the user wants the help sources to be installed + @echo "-------- Install of XML sources of help files --------"; \ + for lang in $(ALL_LINGUAS); do \ + if test -d $(srcdir)/help/$$lang; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \ + if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \ + for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \ + done ; \ + fi; \ + fi; \ + done; \ + @echo "-------- Install of MathML sources --------"; \ + if test -d $(srcdir)/help/mml/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \ + if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \ + for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \ + done ; \ + fi; \ + fi +install-data-local: +# Install the tests + @echo "-------- Install tests (if any) --------"; \ + for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \ + if test -d $(srcdir)/$$dir/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \ + for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \ + if test -d "$(srcdir)/$$dir/$$file"; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \ + $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \ + else \ + echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \ + $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \ + fi \ + done; \ + fi; \ + done +# Install the help chapter + @echo "-------- Install the help chapter (if any) --------"; \ + for lang in $(HELP_CHAPTERLANG); do \ + HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \ + if test -f $$HELPFILE; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \ + echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \ + $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \ + fi; \ + done +# Install the demos & examples + @echo "-------- Install demos & examples (if any) --------"; \ + for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \ + if test -d $(srcdir)/$$dir/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \ + for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \ + if test -d "$(srcdir)/$$dir/$$file"; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \ + $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \ + else \ + echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \ + $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \ + fi \ + done; \ + fi; \ + done +# Install the macros + @echo "-------- Install macros (if any) --------"; \ + for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \ + $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \ + if test -d $(srcdir)/$$dir/; then \ + FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\ + if test -n "$(MACROSSPECIALEXT)"; then \ + specialExtDir=""; \ + for specialExt in $(MACROSSPECIALEXT); do \ + specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \ + done; \ + FILELIST="$$FILELIST $$specialExtDir"; \ + fi; \ + for file in `ls -1 $$FILELIST 2>/dev/null`; do \ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \ + done; \ + fi; \ + done +# Install java files (.jar) + @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \ + echo "-------- Install jar files --------"; \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \ + for file in $(srcdir)/$(JARDIR)$(JARMASK); do\ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \ + done ; \ + fi + +########### CLEAN ################### +# Clean help (generated automatically by Scilab) +# It used to clean the macro (clean-macros) but this was causing +# make clean && make to fail Scilab startup +clean-local: clean-java +#clean-local: + +distclean-local: + rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_* + +.PHONY: macros java swig giws + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/modules/demo_tools/Makefile.am b/modules/demo_tools/Makefile.am new file mode 100755 index 000000000..9fd92d3d0 --- /dev/null +++ b/modules/demo_tools/Makefile.am @@ -0,0 +1,26 @@ +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) 2007 - INRIA - Pierre MARECHAL +# +# This file is distributed under the same license as the Scilab package. + + +#### Target ###### +modulename=demo_tools + +#### demo_tools : Conf files #### +libdemo_tools_la_rootdir = $(mydatadir) +libdemo_tools_la_root_DATA = license.txt + +#### demo_tools : init scripts #### +libdemo_tools_la_etcdir = $(mydatadir)/etc +libdemo_tools_la_etc_DATA = etc/demo_tools.quit etc/demo_tools.start + +#### demo_tools : XML gui #### +libdemo_tools_la_guidir = $(mydatadir)/gui +libdemo_tools_la_gui_DATA = gui/demo_gui.xml + +#### demo_tools : images files #### +libdemo_tools_la_imagesdir=$(mydatadir)/images +libdemo_tools_la_images_DATA = images/logo_scilab.png + +include $(top_srcdir)/Makefile.incl.am diff --git a/modules/demo_tools/Makefile.in b/modules/demo_tools/Makefile.in new file mode 100755 index 000000000..1aeec5144 --- /dev/null +++ b/modules/demo_tools/Makefile.in @@ -0,0 +1,1069 @@ +# Makefile.in generated by automake 1.14.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2013 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) 2007 - INRIA - Pierre MARECHAL +# +# This file is distributed under the same license as the Scilab package. + +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr> +# Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr> +# +# This file must be used under the terms of the CeCILL. +# This source file is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at +# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +# + +########## +### Makefile included stuff +### Target, variable, suffixes which are supposed to be useful in every makefile.am +########## + +VPATH = @srcdir@ +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \ + $(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs +@NEED_JAVA_TRUE@am__append_1 = java +subdir = modules/demo_tools +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \ + $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \ + $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \ + $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \ + $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \ + $(top_srcdir)/m4/intel_compiler.m4 \ + $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \ + $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \ + $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \ + $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \ + $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \ + $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \ + $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \ + $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(libdemo_tools_la_etcdir)" \ + "$(DESTDIR)$(libdemo_tools_la_guidir)" \ + "$(DESTDIR)$(libdemo_tools_la_imagesdir)" \ + "$(DESTDIR)$(libdemo_tools_la_rootdir)" +DATA = $(libdemo_tools_la_etc_DATA) $(libdemo_tools_la_gui_DATA) \ + $(libdemo_tools_la_images_DATA) $(libdemo_tools_la_root_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +ANT = @ANT@ +ANTLR = @ANTLR@ +AR = @AR@ +ARPACK_LIBS = @ARPACK_LIBS@ +ASM3 = @ASM3@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AVALON_FRAMEWORK = @AVALON_FRAMEWORK@ +AWK = @AWK@ +BATIK = @BATIK@ +BLAS_LIBS = @BLAS_LIBS@ +CC = @CC@ +CCACHE = @CCACHE@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CHECKSTYLE = @CHECKSTYLE@ +COBERTURA = @COBERTURA@ +COMMONS_BEANUTILS = @COMMONS_BEANUTILS@ +COMMONS_IO = @COMMONS_IO@ +COMMONS_LOGGING = @COMMONS_LOGGING@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CURL_CFLAGS = @CURL_CFLAGS@ +CURL_CONFIG = @CURL_CONFIG@ +CURL_LIBS = @CURL_LIBS@ +CURL_VERSION = @CURL_VERSION@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DOCBOOK_ROOT = @DOCBOOK_ROOT@ +DOXYGEN_BIN = @DOXYGEN_BIN@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +ECJ = @ECJ@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +FFTW3_LIB = @FFTW3_LIB@ +FFTW_ENABLE = @FFTW_ENABLE@ +FGREP = @FGREP@ +FLEXDOCK = @FLEXDOCK@ +FLIBS = @FLIBS@ +FOP = @FOP@ +FREEHEP_GRAPHICS2D = @FREEHEP_GRAPHICS2D@ +FREEHEP_GRAPHICSIO = @FREEHEP_GRAPHICSIO@ +FREEHEP_GRAPHICSIO_EMF = @FREEHEP_GRAPHICSIO_EMF@ +FREEHEP_IO = @FREEHEP_IO@ +FREEHEP_UTIL = @FREEHEP_UTIL@ +GENHTML = @GENHTML@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GIWS_BIN = @GIWS_BIN@ +GLUEGEN2_RT = @GLUEGEN2_RT@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GRAPHICS_ENABLE = @GRAPHICS_ENABLE@ +GREP = @GREP@ +GUI_ENABLE = @GUI_ENABLE@ +HDF5_CFLAGS = @HDF5_CFLAGS@ +HDF5_LIBS = @HDF5_LIBS@ +HELP_ENABLE = @HELP_ENABLE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JAR = @JAR@ +JAVA = @JAVA@ +JAVAC = @JAVAC@ +JAVAC_DEBUG = @JAVAC_DEBUG@ +JAVADOC = @JAVADOC@ +JAVAH = @JAVAH@ +JAVASCI_ENABLE = @JAVASCI_ENABLE@ +JAVA_ENABLE = @JAVA_ENABLE@ +JAVA_G = @JAVA_G@ +JAVA_HOME = @JAVA_HOME@ +JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@ +JAVA_JNI_LIBS = @JAVA_JNI_LIBS@ +JDB = @JDB@ +JEUCLID_CORE = @JEUCLID_CORE@ +JGRAPHX = @JGRAPHX@ +JHALL = @JHALL@ +JLATEXMATH = @JLATEXMATH@ +JLATEXMATH_FOP = @JLATEXMATH_FOP@ +JOGL2 = @JOGL2@ +JROSETTA_API = @JROSETTA_API@ +JROSETTA_ENGINE = @JROSETTA_ENGINE@ +JUNIT4 = @JUNIT4@ +LAPACK_LIBS = @LAPACK_LIBS@ +LCOV = @LCOV@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBM = @LIBM@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LOGGING_LEVEL = @LOGGING_LEVEL@ +LOOKS = @LOOKS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MATIO_CFLAGS = @MATIO_CFLAGS@ +MATIO_ENABLE = @MATIO_ENABLE@ +MATIO_LIBS = @MATIO_LIBS@ +MKDIR_P = @MKDIR_P@ +MPI_ENABLE = @MPI_ENABLE@ +MSGCAT = @MSGCAT@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OCAMLC = @OCAMLC@ +OCAMLDEP = @OCAMLDEP@ +OCAMLLEX = @OCAMLLEX@ +OCAMLOPT = @OCAMLOPT@ +OCAMLYACC = @OCAMLYACC@ +OPENMPI_CC = @OPENMPI_CC@ +OPENMPI_CFLAGS = @OPENMPI_CFLAGS@ +OPENMPI_CXX = @OPENMPI_CXX@ +OPENMPI_CXXFLAGS = @OPENMPI_CXXFLAGS@ +OPENMPI_LIBS = @OPENMPI_LIBS@ +OPENMP_CFLAGS = @OPENMP_CFLAGS@ +OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@ +OPENMP_ENABLE = @OPENMP_ENABLE@ +OPENMP_LIBS = @OPENMP_LIBS@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PCRE_CFLAGS = @PCRE_CFLAGS@ +PCRE_CONFIG = @PCRE_CONFIG@ +PCRE_LIBS = @PCRE_LIBS@ +PCRE_VERSION = @PCRE_VERSION@ +PKG_CONFIG = @PKG_CONFIG@ +POSUB = @POSUB@ +POW_LIB = @POW_LIB@ +PYTHON = @PYTHON@ +RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RT_LIB = @RT_LIB@ +SAXON = @SAXON@ +SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@ +SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@ +SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@ +SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@ +SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@ +SCIRENDERER = @SCIRENDERER@ +SCIRENDERER_CP = @SCIRENDERER_CP@ +SCI_CFLAGS = @SCI_CFLAGS@ +SCI_CXXFLAGS = @SCI_CXXFLAGS@ +SCI_FFLAGS = @SCI_FFLAGS@ +SCI_LDFLAGS = @SCI_LDFLAGS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ +SHELL = @SHELL@ +SKINLF = @SKINLF@ +SPLINT = @SPLINT@ +STRIP = @STRIP@ +SWIG_BIN = @SWIG_BIN@ +SWIG_JAVA = @SWIG_JAVA@ +SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@ +SWIG_SCILAB = @SWIG_SCILAB@ +TCLTK_LIBS = @TCLTK_LIBS@ +TCL_INC_PATH = @TCL_INC_PATH@ +TK_INC_PATH = @TK_INC_PATH@ +UMFPACK_CFLAGS = @UMFPACK_CFLAGS@ +UMFPACK_ENABLE = @UMFPACK_ENABLE@ +UMFPACK_LIB = @UMFPACK_LIB@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WITH_OCAML = @WITH_OCAML@ +WITH_TKSCI = @WITH_TKSCI@ +XCOS_ENABLE = @XCOS_ENABLE@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +XMKMF = @XMKMF@ +XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@ +XML_APIS_EXT = @XML_APIS_EXT@ +XML_CONFIG = @XML_CONFIG@ +XML_FLAGS = @XML_FLAGS@ +XML_LIBS = @XML_LIBS@ +XML_VERSION = @XML_VERSION@ +X_CFLAGS = @X_CFLAGS@ +X_EXTRA_LIBS = @X_EXTRA_LIBS@ +X_LIBS = @X_LIBS@ +X_PRE_LIBS = @X_PRE_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +ac_ct_F77 = @ac_ct_F77@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +cxx_present = @cxx_present@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ + +#### Target ###### +modulename = demo_tools + +#### demo_tools : Conf files #### +libdemo_tools_la_rootdir = $(mydatadir) +libdemo_tools_la_root_DATA = license.txt + +#### demo_tools : init scripts #### +libdemo_tools_la_etcdir = $(mydatadir)/etc +libdemo_tools_la_etc_DATA = etc/demo_tools.quit etc/demo_tools.start + +#### demo_tools : XML gui #### +libdemo_tools_la_guidir = $(mydatadir)/gui +libdemo_tools_la_gui_DATA = gui/demo_gui.xml + +#### demo_tools : images files #### +libdemo_tools_la_imagesdir = $(mydatadir)/images +libdemo_tools_la_images_DATA = images/logo_scilab.png + +# Where all the Scilab stuff is installed (macros, help, ...) +mydatadir = $(pkgdatadir)/modules/$(modulename) + +# Set AM_* SCI detected settings +AM_CPPFLAGS = $(SCI_CPPFLAGS) +AM_CFLAGS = $(SCI_CFLAGS) +AM_CXXFLAGS = $(SCI_CXXFLAGS) +# append includes to AM_FFLAGS to manage fortran includes +AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/ + +# Tag shared libraries with the Scilab version +AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION) + +# splint options +SPLINT_OPTIONS = -weak -booltype BOOL + +########################### JAVA ###################################### +#### We are delegating java compilation to ant... Thanks to that +#### the procedure will be the same with Microsoft Windows (C) +#### and Linux/Unix +####################################################################### +TARGETS_ALL = $(am__append_1) + +################ MACROS ###################### +# Rule to build a macro +# NOT USED AT THE MOMENT +SUFFIXES = .sci + +########### INSTALL DOCUMENTATION ################### + +# Install documentation files into the right target +# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because +# automake needs the html files to be present which is not the case when +# we are building Scilab + +# Where it should be installed +pkgdocdir = $(mydatadir) + +# What is the mask of the help source +DOCMASKXML = *.xml + +# What is the mask of the MathML sources +DOCMASKMML = *.mml + +########### INSTALL DATA ################### +# Install macros, help & demos +# Where it should be installed +pkgmacrosdir = $(mydatadir) +# Which directory we process +MACRODIRS = macros/ +# Mask of the Scilab sources macros +MACROMASK = *.sci +# Mask of the Scilab executable sources macros +MACROBUILDMASK = *.sce +# Mask of the Scilab compiled macros +MACROBINMASK = *.bin +# List of the standard directory for tests +TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java +# Where the demos should be installed +pkgdemosdir = $(mydatadir) +# List of the standard directory for demos +DEMOS_DIR = demos +# List of the standard directory for examples +EXAMPLES_DIR = examples +# Where to export JAVA archives (.jar) +JARDIR = jar/ +# JAR files mask +JARMASK = *.jar +# Chapter file +HELP_CHAPTERDIR = help/ +HELP_CHAPTERFILE = addchapter.sce +HELP_CHAPTERLANG = en_US fr_FR pt_BR +all: all-am + +.SUFFIXES: +.SUFFIXES: .sci .bin +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/demo_tools/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign modules/demo_tools/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; +$(top_srcdir)/Makefile.incl.am: + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-libdemo_tools_la_etcDATA: $(libdemo_tools_la_etc_DATA) + @$(NORMAL_INSTALL) + @list='$(libdemo_tools_la_etc_DATA)'; test -n "$(libdemo_tools_la_etcdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libdemo_tools_la_etcdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libdemo_tools_la_etcdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libdemo_tools_la_etcdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libdemo_tools_la_etcdir)" || exit $$?; \ + done + +uninstall-libdemo_tools_la_etcDATA: + @$(NORMAL_UNINSTALL) + @list='$(libdemo_tools_la_etc_DATA)'; test -n "$(libdemo_tools_la_etcdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libdemo_tools_la_etcdir)'; $(am__uninstall_files_from_dir) +install-libdemo_tools_la_guiDATA: $(libdemo_tools_la_gui_DATA) + @$(NORMAL_INSTALL) + @list='$(libdemo_tools_la_gui_DATA)'; test -n "$(libdemo_tools_la_guidir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libdemo_tools_la_guidir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libdemo_tools_la_guidir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libdemo_tools_la_guidir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libdemo_tools_la_guidir)" || exit $$?; \ + done + +uninstall-libdemo_tools_la_guiDATA: + @$(NORMAL_UNINSTALL) + @list='$(libdemo_tools_la_gui_DATA)'; test -n "$(libdemo_tools_la_guidir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libdemo_tools_la_guidir)'; $(am__uninstall_files_from_dir) +install-libdemo_tools_la_imagesDATA: $(libdemo_tools_la_images_DATA) + @$(NORMAL_INSTALL) + @list='$(libdemo_tools_la_images_DATA)'; test -n "$(libdemo_tools_la_imagesdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libdemo_tools_la_imagesdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libdemo_tools_la_imagesdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libdemo_tools_la_imagesdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libdemo_tools_la_imagesdir)" || exit $$?; \ + done + +uninstall-libdemo_tools_la_imagesDATA: + @$(NORMAL_UNINSTALL) + @list='$(libdemo_tools_la_images_DATA)'; test -n "$(libdemo_tools_la_imagesdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libdemo_tools_la_imagesdir)'; $(am__uninstall_files_from_dir) +install-libdemo_tools_la_rootDATA: $(libdemo_tools_la_root_DATA) + @$(NORMAL_INSTALL) + @list='$(libdemo_tools_la_root_DATA)'; test -n "$(libdemo_tools_la_rootdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libdemo_tools_la_rootdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libdemo_tools_la_rootdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libdemo_tools_la_rootdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libdemo_tools_la_rootdir)" || exit $$?; \ + done + +uninstall-libdemo_tools_la_rootDATA: + @$(NORMAL_UNINSTALL) + @list='$(libdemo_tools_la_root_DATA)'; test -n "$(libdemo_tools_la_rootdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libdemo_tools_la_rootdir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) check-local +check: check-am +all-am: Makefile $(DATA) all-local +installdirs: + for dir in "$(DESTDIR)$(libdemo_tools_la_etcdir)" "$(DESTDIR)$(libdemo_tools_la_guidir)" "$(DESTDIR)$(libdemo_tools_la_imagesdir)" "$(DESTDIR)$(libdemo_tools_la_rootdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-local mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-local + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-data-local install-libdemo_tools_la_etcDATA \ + install-libdemo_tools_la_guiDATA \ + install-libdemo_tools_la_imagesDATA \ + install-libdemo_tools_la_rootDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: install-html-local + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-libdemo_tools_la_etcDATA \ + uninstall-libdemo_tools_la_guiDATA \ + uninstall-libdemo_tools_la_imagesDATA \ + uninstall-libdemo_tools_la_rootDATA + +.MAKE: check-am install-am install-strip + +.PHONY: all all-am all-local check check-am check-local clean \ + clean-generic clean-libtool clean-local cscopelist-am ctags-am \ + distclean distclean-generic distclean-libtool distclean-local \ + distdir dvi dvi-am html html-am info info-am install \ + install-am install-data install-data-am install-data-local \ + install-dvi install-dvi-am install-exec install-exec-am \ + install-html install-html-am install-html-local install-info \ + install-info-am install-libdemo_tools_la_etcDATA \ + install-libdemo_tools_la_guiDATA \ + install-libdemo_tools_la_imagesDATA \ + install-libdemo_tools_la_rootDATA install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ + uninstall-am uninstall-libdemo_tools_la_etcDATA \ + uninstall-libdemo_tools_la_guiDATA \ + uninstall-libdemo_tools_la_imagesDATA \ + uninstall-libdemo_tools_la_rootDATA + + +# This target enables tests for Scilab +check-local: $(top_builddir)/scilab-bin test + if test -d $(mydatadir)/tests; then \ + @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \ + fi +check-code: + if test -f build.xml; then \ + $(ANT) checkstyle; \ + fi + if test -x "$(SPLINT)"; then \ + $(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \ + fi +@NEED_JAVA_TRUE@java: +# Some configurations needs to export JAVA_HOME in the current env +@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \ +@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ +@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \ +@NEED_JAVA_TRUE@ $(ANT); \ +@NEED_JAVA_TRUE@ fi + +@NEED_JAVA_TRUE@clean-java: +# Some configurations needs to export JAVA_HOME in the current env +@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \ +@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ +@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \ +@NEED_JAVA_TRUE@ $(ANT) clean; \ +@NEED_JAVA_TRUE@ fi; + +# If the user request for the SWIG generation of the wrappers Java => C/C++ +# We call the target swig-build on the variable SWIG_WRAPPERS + +@SWIG_TRUE@swig: $(SWIG_WRAPPERS) +@SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \ +@SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \ +@SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \ +@SWIG_TRUE@ for file in $(SWIG_WRAPPERS) ; do \ +@SWIG_TRUE@ echo "Swig process of $$file (Java) ..."; \ +@SWIG_TRUE@ $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \ +@SWIG_TRUE@ done; \ +@SWIG_TRUE@ fi + +@SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS) +@SWIG_TRUE@ @SWIG_OUTDIR=src/swig/; \ +@SWIG_TRUE@ if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \ +@SWIG_TRUE@ for file in $(SWIG_SCILAB_WRAPPERS) ; do \ +@SWIG_TRUE@ echo "Swig process of $$file (Scilab) ..."; \ +@SWIG_TRUE@ $(SWIG_BIN) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \ +@SWIG_TRUE@ done; \ +@SWIG_TRUE@ fi + +# If the user request for the SWIG generation of the wrappers Java => C/C++ +# We call the target swig-build on the variable SWIG_WRAPPERS + +@GIWS_TRUE@giws: $(GIWS_WRAPPERS) +@GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/; \ +@GIWS_TRUE@ MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \ +@GIWS_TRUE@ if test -n "$(GIWS_WRAPPERS)"; then \ +@GIWS_TRUE@ for file in $(GIWS_WRAPPERS) ; do \ +@GIWS_TRUE@ echo "GIWS process of $$file ..."; \ +@GIWS_TRUE@ if test -z "$(GIWS_OPTIONS)"; then \ +@GIWS_TRUE@ $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \ +@GIWS_TRUE@ else \ +@GIWS_TRUE@ echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \ +@GIWS_TRUE@ $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \ +@GIWS_TRUE@ fi \ +@GIWS_TRUE@ done; \ +@GIWS_TRUE@ fi + +@GIWS_TRUE@giws-exception: +@GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\ +@GIWS_TRUE@ echo "GIWS: Generation of exception class ..."; \ +@GIWS_TRUE@ $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR + +macros: + -@( if test ! -x $(top_builddir)/scilab-bin; then \ + echo "Error : Cannot build $< : Scilab has not been built"; \ + else \ + $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\ + fi) + +# Removes the macros +clean-macros: +# Removes macros (*.bin generated from .sci) + @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \ + echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \ + rm -f $(builddir)/$$dir/$(MACROBINMASK); \ + done + +test: +# More tests could be added here + @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ + if test -f build.xml -a $$USEANT -eq 1; then \ + $(ANT) test; \ + fi + +all-local: $(TARGETS_ALL) + +.sci.bin: + -@( if test ! -x $(top_builddir)/scilab-bin; then \ + echo "Error : Cannot build $< : Scilab has not been build"; \ + else \ + echo "Creating $@"; \ + $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \ + fi ) + +install-html-local: + +install-data-local-local: +# Mainly for javasci + @if test -d $(srcdir)/javadoc; then \ + cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \ + fi +# If the user wants the help sources to be installed +@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \ +@INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \ +@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/$$lang; then \ +@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \ +@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \ +@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \ +@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \ +@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \ +@INSTALL_HELP_XML_TRUE@ done ; \ +@INSTALL_HELP_XML_TRUE@ fi; \ +@INSTALL_HELP_XML_TRUE@ fi; \ +@INSTALL_HELP_XML_TRUE@ done; \ +@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \ +@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/mml/; then \ +@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \ +@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \ +@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \ +@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \ +@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \ +@INSTALL_HELP_XML_TRUE@ done ; \ +@INSTALL_HELP_XML_TRUE@ fi; \ +@INSTALL_HELP_XML_TRUE@ fi +install-data-local: +# Install the tests + @echo "-------- Install tests (if any) --------"; \ + for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \ + if test -d $(srcdir)/$$dir/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \ + for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \ + if test -d "$(srcdir)/$$dir/$$file"; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \ + $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \ + else \ + echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \ + $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \ + fi \ + done; \ + fi; \ + done +# Install the help chapter + @echo "-------- Install the help chapter (if any) --------"; \ + for lang in $(HELP_CHAPTERLANG); do \ + HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \ + if test -f $$HELPFILE; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \ + echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \ + $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \ + fi; \ + done +# Install the demos & examples + @echo "-------- Install demos & examples (if any) --------"; \ + for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \ + if test -d $(srcdir)/$$dir/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \ + for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \ + if test -d "$(srcdir)/$$dir/$$file"; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \ + $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \ + else \ + echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \ + $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \ + fi \ + done; \ + fi; \ + done +# Install the macros + @echo "-------- Install macros (if any) --------"; \ + for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \ + $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \ + if test -d $(srcdir)/$$dir/; then \ + FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\ + if test -n "$(MACROSSPECIALEXT)"; then \ + specialExtDir=""; \ + for specialExt in $(MACROSSPECIALEXT); do \ + specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \ + done; \ + FILELIST="$$FILELIST $$specialExtDir"; \ + fi; \ + for file in `ls -1 $$FILELIST 2>/dev/null`; do \ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \ + done; \ + fi; \ + done +# Install java files (.jar) + @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \ + echo "-------- Install jar files --------"; \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \ + for file in $(srcdir)/$(JARDIR)$(JARMASK); do\ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \ + done ; \ + fi + +########### CLEAN ################### +# Clean help (generated automatically by Scilab) +# It used to clean the macro (clean-macros) but this was causing +# make clean && make to fail Scilab startup +@NEED_JAVA_TRUE@clean-local: clean-java +@NEED_JAVA_FALSE@clean-local: + +distclean-local: + rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_* + +.PHONY: macros java swig giws + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/modules/demo_tools/demo_tools.iss b/modules/demo_tools/demo_tools.iss new file mode 100755 index 000000000..166f4a658 --- /dev/null +++ b/modules/demo_tools/demo_tools.iss @@ -0,0 +1,42 @@ +; +; Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +; Copyright (C) INRIA - Allan CORNET +; Copyright (C) DIGITEO - 2010 - Allan CORNET +; +; This file must be used under the terms of the CeCILL. +; This source file is licensed as described in the file COPYING, which +; you should have received as part of this distribution. The terms +; are also available at +; http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +; +;-------------------------------------------------------------------------------------------------------------- +; Inno Setup Script (5.3 and more) for Scilab (UNICODE version required) +; +;-------------------------------------------------------------------------------------------------------------- +; demo_tools module +;-------------------------------------------------------------------------------------------------------------- +; +#define DEMO_TOOLS "demo_tools" +; +Source: modules\{#DEMO_TOOLS}\license.txt; DestDir: {app}\modules\{#DEMO_TOOLS}; Components: {#COMPN_SCILAB} +; +Source: modules\{#DEMO_TOOLS}\etc\{#DEMO_TOOLS}.quit; DestDir: {app}\modules\{#DEMO_TOOLS}\etc; Components: {#COMPN_SCILAB} +Source: modules\{#DEMO_TOOLS}\etc\{#DEMO_TOOLS}.start; DestDir: {app}\modules\{#DEMO_TOOLS}\etc; Components: {#COMPN_SCILAB} +; +Source: modules\{#DEMO_TOOLS}\images\*.*; DestDir: {app}\modules\{#DEMO_TOOLS}\images; Components: {#COMPN_SCILAB} +; +Source: modules\{#DEMO_TOOLS}\macros\buildmacros.sce; DestDir: {app}\modules\{#DEMO_TOOLS}\macros; Components: {#COMPN_SCILAB} +Source: modules\{#DEMO_TOOLS}\macros\buildmacros.bat; DestDir: {app}\modules\{#DEMO_TOOLS}\macros; Components: {#COMPN_SCILAB} +Source: modules\{#DEMO_TOOLS}\macros\cleanmacros.bat; DestDir: {app}\modules\{#DEMO_TOOLS}\macros; Components: {#COMPN_SCILAB} +Source: modules\{#DEMO_TOOLS}\macros\lib; DestDir: {app}\modules\{#DEMO_TOOLS}\macros; Components: {#COMPN_SCILAB} +Source: modules\{#DEMO_TOOLS}\macros\names; DestDir: {app}\modules\{#DEMO_TOOLS}\macros; Components: {#COMPN_SCILAB} +Source: modules\{#DEMO_TOOLS}\macros\*.bin; DestDir: {app}\modules\{#DEMO_TOOLS}\macros; Components: {#COMPN_SCILAB} +Source: modules\{#DEMO_TOOLS}\macros\*.sci; DestDir: {app}\modules\{#DEMO_TOOLS}\macros; Components: {#COMPN_SCILAB} +; +Source: modules\{#DEMO_TOOLS}\gui\*.xml; DestDir: {app}\modules\{#DEMO_TOOLS}\gui; Components: {#COMPN_SCILAB} +; +;Source: modules\{#DEMO_TOOLS}\examples\*.*; DestDir: {app}\modules\{#DEMO_TOOLS}\examples; Flags: recursesubdirs; Components: {#COMPN_SCILAB} +; +Source: modules\{#DEMO_TOOLS}\tests\*.*; DestDir: {app}\modules\{#DEMO_TOOLS}\tests; Flags: recursesubdirs; Components: {#COMPN_SCILAB} and {#COMPN_TESTS} +; +;-------------------------------------------------------------------------------------------------------------- diff --git a/modules/demo_tools/etc/demo_tools.quit b/modules/demo_tools/etc/demo_tools.quit new file mode 100755 index 000000000..ab83f0c89 --- /dev/null +++ b/modules/demo_tools/etc/demo_tools.quit @@ -0,0 +1,10 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2007-2008 - INRIA +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + diff --git a/modules/demo_tools/etc/demo_tools.start b/modules/demo_tools/etc/demo_tools.start new file mode 100755 index 000000000..1512a51eb --- /dev/null +++ b/modules/demo_tools/etc/demo_tools.start @@ -0,0 +1,12 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2007-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr> +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +// Load functions library +// ============================================================================= +load('SCI/modules/demo_tools/macros/lib'); diff --git a/modules/demo_tools/gui/demo_gui.xml b/modules/demo_tools/gui/demo_gui.xml new file mode 100755 index 000000000..cece88e96 --- /dev/null +++ b/modules/demo_tools/gui/demo_gui.xml @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="UTF-8"?> +<scilabgui usedeprecatedskin="off" version="1.0"> + <figure axes_size="250,526" default_axes="off" dockable="off" figure_id="100000" figure_name="" figure_size="266,565" icon="applications-system" infobar_visible="off" layout="gridbag" menubar="none" menubar_visible="off" tag="scilab_demo_fig" toolbar="none" toolbar_visible="off" visible="off"> + <frame backgroundcolor="1.0,1.0,1.0" gridbagfill="both" gridbaggrid="10,1,1,1" gridbagpreferredsize="0,0" gridbagweight="1.0,1.0" layout="gridbag" tag="frame_10" visible="off"> + <border color="black" fontangle="normal" fontname="" fontsize="12" fontweight="bold" justification="1" style="titled" title=""> + <title style="empty"/> + </border> + <listbox callback="script_path = demo_gui_update();if ~isempty(script_path) then exec(script_path, -1);end;clear script_path;" callback_type="0" fontsize="12.0" gridbagfill="both" gridbaggrid="1,1,1,4" gridbagweight="1.0,1.0" listboxtop="1" tag="listbox_10" value="3.0"/> + </frame> + <frame backgroundcolor="1.0,1.0,1.0" gridbagfill="both" gridbaggrid="9,1,1,1" gridbagpreferredsize="0,0" gridbagweight="1.0,1.0" layout="gridbag" tag="frame_9" visible="off"> + <border color="black" fontangle="normal" fontname="" fontsize="12" fontweight="bold" justification="1" style="titled" title=""> + <title style="empty"/> + </border> + <listbox callback="script_path = demo_gui_update();if ~isempty(script_path) then exec(script_path, -1);end;clear script_path;" callback_type="0" fontsize="12.0" gridbagfill="both" gridbaggrid="1,1,1,4" gridbagweight="1.0,1.0" listboxtop="1" tag="listbox_9" value="3.0"/> + </frame> + <frame backgroundcolor="1.0,1.0,1.0" gridbagfill="both" gridbaggrid="8,1,1,1" gridbagpreferredsize="0,0" gridbagweight="1.0,1.0" layout="gridbag" tag="frame_8" visible="off"> + <border color="black" fontangle="normal" fontname="" fontsize="12" fontweight="bold" justification="1" style="titled" title=""> + <title style="empty"/> + </border> + <listbox callback="script_path = demo_gui_update();if ~isempty(script_path) then exec(script_path, -1);end;clear script_path;" callback_type="0" fontsize="12.0" gridbagfill="both" gridbaggrid="1,1,1,4" gridbagweight="1.0,1.0" listboxtop="1" tag="listbox_8" value="3.0"/> + </frame> + <frame backgroundcolor="1.0,1.0,1.0" gridbagfill="both" gridbaggrid="7,1,1,1" gridbagpreferredsize="0,0" gridbagweight="1.0,1.0" layout="gridbag" tag="frame_7" visible="off"> + <border color="black" fontangle="normal" fontname="" fontsize="12" fontweight="bold" justification="1" style="titled" title=""> + <title style="empty"/> + </border> + <listbox callback="script_path = demo_gui_update();if ~isempty(script_path) then exec(script_path, -1);end;clear script_path;" callback_type="0" fontsize="12.0" gridbagfill="both" gridbaggrid="1,1,1,4" gridbagweight="1.0,1.0" listboxtop="1" tag="listbox_7" value="3.0"/> + </frame> + <frame backgroundcolor="1.0,1.0,1.0" gridbagfill="both" gridbaggrid="6,1,1,1" gridbagpreferredsize="0,0" gridbagweight="1.0,1.0" layout="gridbag" tag="frame_6" visible="off"> + <border color="black" fontangle="normal" fontname="" fontsize="12" fontweight="bold" justification="1" style="titled" title=""> + <title style="empty"/> + </border> + <listbox callback="script_path = demo_gui_update();if ~isempty(script_path) then exec(script_path, -1);end;clear script_path;" callback_type="0" fontsize="12.0" gridbagfill="both" gridbaggrid="1,1,1,4" gridbagweight="1.0,1.0" listboxtop="1" tag="listbox_6" value="3.0"/> + </frame> + <frame backgroundcolor="1.0,1.0,1.0" gridbagfill="both" gridbaggrid="5,1,1,1" gridbagpreferredsize="0,0" gridbagweight="1.0,1.0" layout="gridbag" tag="frame_5" visible="off"> + <border color="black" fontangle="normal" fontname="" fontsize="12" fontweight="bold" justification="1" style="titled" title=""> + <title style="empty"/> + </border> + <listbox callback="script_path = demo_gui_update();if ~isempty(script_path) then exec(script_path, -1);end;clear script_path;" callback_type="0" fontsize="12.0" gridbagfill="both" gridbaggrid="1,1,1,4" gridbagweight="1.0,1.0" listboxtop="1" tag="listbox_5" value="3.0"/> + </frame> + <frame backgroundcolor="1.0,1.0,1.0" gridbagfill="both" gridbaggrid="4,1,1,1" gridbagpreferredsize="0,0" gridbagweight="1.0,1.0" layout="gridbag" tag="frame_4" visible="off"> + <border color="black" fontangle="normal" fontname="" fontsize="12" fontweight="bold" justification="1" style="titled" title=""> + <title style="empty"/> + </border> + <listbox callback="script_path = demo_gui_update();if ~isempty(script_path) then exec(script_path, -1);end;clear script_path;" callback_type="0" fontsize="12.0" gridbagfill="both" gridbaggrid="1,1,1,4" gridbagweight="1.0,1.0" listboxtop="1" tag="listbox_4" value="3.0"/> + </frame> + <frame backgroundcolor="1.0,1.0,1.0" gridbagfill="both" gridbaggrid="3,1,1,1" gridbagpreferredsize="0,0" gridbagweight="1.0,1.0" layout="gridbag" tag="frame_3" visible="off"> + <border color="black" fontangle="normal" fontname="" fontsize="12" fontweight="bold" justification="1" style="titled" title=""> + <title style="empty"/> + </border> + <listbox callback="script_path = demo_gui_update();if ~isempty(script_path) then exec(script_path, -1);end;clear script_path;" callback_type="0" fontsize="12.0" gridbagfill="both" gridbaggrid="1,1,1,4" gridbagweight="1.0,1.0" listboxtop="1" tag="listbox_3" value="3.0"/> + </frame> + <frame backgroundcolor="1.0,1.0,1.0" gridbagfill="both" gridbaggrid="2,1,1,1" gridbagpreferredsize="0,0" gridbagweight="1.0,1.0" layout="gridbag" tag="frame_2" visible="off"> + <border color="black" fontangle="normal" fontname="" fontsize="12" fontweight="bold" justification="1" style="titled" title=""> + <title style="empty"/> + </border> + <listbox callback="script_path = demo_gui_update();if ~isempty(script_path) then exec(script_path, -1);end;clear script_path;" callback_type="0" fontsize="12.0" gridbagfill="both" gridbaggrid="1,1,1,4" gridbagweight="1.0,1.0" listboxtop="1" tag="listbox_2" value="3.0"/> + </frame> + <frame backgroundcolor="1.0,1.0,1.0" gridbagfill="both" gridbaggrid="1,1,1,1" gridbagpreferredsize="0,0" gridbagweight="1.0,1.0" layout="gridbag" tag="frame_1"> + <border color="black" fontangle="normal" fontname="" fontsize="12" fontweight="bold" justification="1" style="titled" title=""> + <title style="empty"/> + </border> + <image backgroundcolor="1.0,1.0,1.0" gridbagfill="both" gridbaggrid="1,5,1,1" gridbagweight="1.0,0.1" horizontalalignment="center" tag="scilab_logo"> + <string cols="1" property="string" rows="1"> + <stringitem value="SCI/modules/demo_tools/images/logo_scilab.png"/> + </string> + </image> + <listbox callback="script_path = demo_gui_update();if ~isempty(script_path) then exec(script_path, -1);end;clear script_path;" callback_type="0" fontsize="12.0" gridbagfill="both" gridbaggrid="1,1,1,4" gridbagweight="1.0,1.0" listboxtop="1" tag="listbox_1" value="3.0"/> + </frame> + </figure> +</scilabgui> diff --git a/modules/demo_tools/help/en_US/add_demo.xml b/modules/demo_tools/help/en_US/add_demo.xml new file mode 100755 index 000000000..0b0662cf3 --- /dev/null +++ b/modules/demo_tools/help/en_US/add_demo.xml @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2006-2008 - INRIA - Serge STEER + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="add_demo"> + <refnamediv> + <refname>add_demo</refname> + <refpurpose>Add an entry in the demos list</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>add_demo(title,path)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>title</term> + <listitem> + <para>a character string, the demo title</para> + </listitem> + </varlistentry> + <varlistentry> + <term>path</term> + <listitem> + <para>a character string, the path of the scilab script associated + with the demo + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + This function adds a new entry in the demos list. The demo should be + executed by a Scilab script file. If the given <literal>title</literal> already exists + in the demo list associated with the same file nothing is done. + The function checks if the file exist. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +//create a simple demo script +path=TMPDIR+'/foo.sce'; +mputl('disp Hello',path) +add_demo('My first demo',path) +//the demo can now be run using the "Demos" menu. + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="add_help_chapter">add_help_chapter</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/demo_tools/help/en_US/addchapter.sce b/modules/demo_tools/help/en_US/addchapter.sce new file mode 100755 index 000000000..69b29e4ba --- /dev/null +++ b/modules/demo_tools/help/en_US/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Demo Tools",SCI+"/modules/demo_tools/help/en_US",%T); + diff --git a/modules/demo_tools/help/en_US/demo_begin.xml b/modules/demo_tools/help/en_US/demo_begin.xml new file mode 100755 index 000000000..eee04998b --- /dev/null +++ b/modules/demo_tools/help/en_US/demo_begin.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="demo_begin"> + <refnamediv> + <refname>demo_begin</refname> + <refpurpose>begin a demonstration </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Séquence d'appel</title> + <synopsis>demo_begin()</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + The function demo_begin is used to begin a demonstration. + It sets the script and the values in mode of non display on the console, save the + environment variables in a temporary file and save the width of the console. + This function shall be used with the function demo_end. + </para> + </refsection> + <refsection> + <title>Voir Aussi</title> + <simplelist type="inline"> + <member> + <link linkend="demo_end">demo_end</link> + </member> + <member> + <link linkend="demo_run">demo_run</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/demo_tools/help/en_US/demo_choose.xml b/modules/demo_tools/help/en_US/demo_choose.xml new file mode 100755 index 000000000..f25d1957a --- /dev/null +++ b/modules/demo_tools/help/en_US/demo_choose.xml @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="demo_choose"> + <refnamediv> + <refname>demo_choose</refname> + <refpurpose>create a dialog box for the choice of options </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>num = demo_choose(fil)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + The function demo_choose create a dialog box for the choice of options. It + takes as argument the binary file 'fil'. This file is built by a .sce file + written like below. It shall contain the variables 'choice', an array of text + within bracket (the different options), and 'titl', the title of the dialog + box. After that, the .sce file shall save both variables in the binary file + in argument. + Before the use of demo_choose, the .sce file shall be executed. + The function demo_choose returns the number of line chosen in the options + array. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +exec('SCI/demos/control/pid/pid_ch_2.sce'); +[n]=demo_choose('SCI/demos/control/pid/pid_ch_2.bin'); +select n + case 0 + break + case 1 + mode(1) + case 2 + mode(-1) +end + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="x_choose">x_choose</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/demo_tools/help/en_US/demo_compiler.xml b/modules/demo_tools/help/en_US/demo_compiler.xml new file mode 100755 index 000000000..58d1e0bae --- /dev/null +++ b/modules/demo_tools/help/en_US/demo_compiler.xml @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="demo_compiler"> + <refnamediv> + <refname>demo_compiler</refname> + <refpurpose>test the presence of a compileur </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>status = demo_compiler()</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + The function demo_compiler asks the computer if it owns a compileur C or not. + It returns a boolean indicating wether the compiler exists or not. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +select num, + case 0 + return; + case 2 then + st = demo_compiler(); //The compiler will be used + if (st==%t) then + mode(0); + wheel_build_and_load() + end + case 1 then // A precomputed value + x=read(path+'/x.wrt',8,301); + wheelg=wheelgs; + show(x); +end + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="findmsvccompiler">findmsvccompiler</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/demo_tools/help/en_US/demo_end.xml b/modules/demo_tools/help/en_US/demo_end.xml new file mode 100755 index 000000000..0769e1b70 --- /dev/null +++ b/modules/demo_tools/help/en_US/demo_end.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="demo_end"> + <refnamediv> + <refname>demo_end</refname> + <refpurpose>completes a demonstration </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Séquence d'appel</title> + <synopsis>demo_end()</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + The function demo_end() is used to complete a demonstration. + It shall be used complementarily with the function demo_begin. + It resets the state of the environment as it was before to use the function + demo_begin : width of the console and the variables value. + </para> + </refsection> + <refsection> + <title>Voir Aussi</title> + <simplelist type="inline"> + <member> + <link linkend="demo_begin">demo_begin</link> + </member> + <member> + <link linkend="demo_run">demo_run</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/demo_tools/help/en_US/demo_file_choice.xml b/modules/demo_tools/help/en_US/demo_file_choice.xml new file mode 100755 index 000000000..9d29ab45f --- /dev/null +++ b/modules/demo_tools/help/en_US/demo_file_choice.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="demo_file_choice"> + <refnamediv> + <refname>demo_file_choice</refname> + <refpurpose>choose and executes an item within a list </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>demo_file_choice(path,ch)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + The function demo_file_choice choose and executes an item chosen in the + 'demolist' variable, that shall be written above. The variable 'demolist' is a + text matrix whose first column contains names of items displayed in an options + window and whose second column contains the names of the files that will be + executed. The title of the options window is 'Choose a demo'. + The 'path' variable is the access to the files called in the second column. + The 'ch' variable allows to avoid the special cases 'root' and 'anim' that are + used in peculiar demonstrations of Scilab. Then you have to enter another word + than 'root' or 'ch', 'no' for example. + If you choose to cancel the options window, the console is put back to its + previous width. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +demolist=['n-pendulum','npend/npend_gateway.sce'; + 'Wheel simulation','wheel2/wheel_gateway.sce'; + 'Bike Simulation','bike/bike_gateway.sce'; + 'ODE''S','ode/ode.dem'; + 'DAE''S','dae/dae.dem'] + +demo_file_choice('SCI/demos/simulation/','no'); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="demo_function_choice">demo_function_choice</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/demo_tools/help/en_US/demo_function_choice.xml b/modules/demo_tools/help/en_US/demo_function_choice.xml new file mode 100755 index 000000000..b1ab71e28 --- /dev/null +++ b/modules/demo_tools/help/en_US/demo_function_choice.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="demo_function_choice"> + <refnamediv> + <refname>demo_function_choice</refname> + <refpurpose>choose and execute an item within a list </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>demo_function_choice()</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + The function demo_function_choice choose and execute an item chosen in the + variable 'demolist' that shall appear above. + The variable 'demolist' is a text matrix whose first column contains item names + displayed in an options window and whose second column contains the function that will + be called. The title of the options window is 'Choose a demo'. + If the options window is cancelled, the console is put back to its previous + width. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +demolist=[ + 'Simulation of a binomial random variable','clf();BinomialT();'; + 'Simulation of a discrete random variable','clf();RndDiscT();'; + 'Simulation of a geometric random variable','clf();GeomT(1000);'; + 'Simulation of a Poisson random variable','clf();PoissonT() ;'; + 'Simulation of an exponential random variable','clf();ExpT();'; + 'Simulation of a Weibull random variable','clf();WeibullT();'; + 'Simulation of a hyper geometric random variable','clf();HyperGeomT();'; + 'Simulation of an Erlang random variable','clf();ErlangT();']; + +demo_function_choice(); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="demo_file_choice">demo_file_choice</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/demo_tools/help/en_US/demo_run.xml b/modules/demo_tools/help/en_US/demo_run.xml new file mode 100755 index 000000000..acf007b47 --- /dev/null +++ b/modules/demo_tools/help/en_US/demo_run.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="demo_run"> + <refnamediv> + <refname>demo_run</refname> + <refpurpose>script file execution </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>demo_run(fil)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + The function demo_run executes a script in the file 'fil' given in argument. + </para> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="exec">exec</link> + </member> + <member> + <link linkend="demo_begin">demo_begin</link> + </member> + <member> + <link linkend="demo_end">demo_end</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/demo_tools/help/fr_FR/addchapter.sce b/modules/demo_tools/help/fr_FR/addchapter.sce new file mode 100755 index 000000000..d374de582 --- /dev/null +++ b/modules/demo_tools/help/fr_FR/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Outils pour les démonstrations",SCI+"/modules/demo_tools/help/fr_FR",%T); + diff --git a/modules/demo_tools/help/fr_FR/demo_begin.xml b/modules/demo_tools/help/fr_FR/demo_begin.xml new file mode 100755 index 000000000..5451d143e --- /dev/null +++ b/modules/demo_tools/help/fr_FR/demo_begin.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="demo_begin"> + <refnamediv> + <refname>demo_begin</refname> + <refpurpose>Commence une démonstration</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Séquence d'appel</title> + <synopsis>demo_begin()</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + La fonction demo_begin() sert à commencer une démonstration. + Elle place le script et les valeurs en mode de non affichage à la console, + enregistre les variables de l'environnement dans un fichier temporaire et + sauvegarde la largeur de la console. + Elle doit être utilisée avec la function demo_end. + </para> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="demo_end">demo_end</link> + </member> + <member> + <link linkend="demo_run">demo_run</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/demo_tools/help/fr_FR/demo_choose.xml b/modules/demo_tools/help/fr_FR/demo_choose.xml new file mode 100755 index 000000000..50df44b11 --- /dev/null +++ b/modules/demo_tools/help/fr_FR/demo_choose.xml @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="demo_choose"> + <refnamediv> + <refname>demo_choose</refname> + <refpurpose>créé une boîte de choix d'options </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Séquence d'appel</title> + <synopsis>num = demo_choose(fil)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + La fonction demo_choose crée une boîte de choix d'options. Elle prend comme + argument le fichier fil, un fichier binaire. Ce fichier est construit à partir d'un + fichier .sce écrit comme suit. Il doit contenir les variables 'choice', un + vecteur colonne de texte entre crochets (les diff�entes options), et 'titl', + le titre de la boîte de dialogue. Après quoi doit figurer dans ce fichier + une sauvegarde des deux variables dans le fichier binaire. + La commande demo_choose doit être précédée de l'exécution du fichier .sce + associé + La fonction demo_choose renvoie en sortie le numéro de ligne du choix + effectué dans le vecteur colonne des options. + </para> + </refsection> + <refsection> + <title>Exemples</title> + <programlisting role="example"><![CDATA[ +exec('SCI/demos/control/pid/pid_ch_2.sce'); +[n]=demo_choose('SCI/demos/control/pid/pid_ch_2.bin'); +select n + case 0 + break + case 1 + mode(1) + case 2 + mode(-1) +end + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="x_choose">x_choose</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/demo_tools/help/fr_FR/demo_compiler.xml b/modules/demo_tools/help/fr_FR/demo_compiler.xml new file mode 100755 index 000000000..461f873eb --- /dev/null +++ b/modules/demo_tools/help/fr_FR/demo_compiler.xml @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="demo_compiler"> + <refnamediv> + <refname>demo_compiler</refname> + <refpurpose>teste la présence d'un compilateur </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Séquence d'appel</title> + <synopsis>status = demo_compiler()</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + La fonction demo_compiler interroge l'ordinateur pour savoir s'il possède un + compilateur C. Elle renvoie un booléen corresdondant à la présence ou non du + compilateur. + </para> + </refsection> + <refsection> + <title>Exemples</title> + <programlisting role="example"><![CDATA[ +select num, + case 0 + return; + case 2 then + st = demo_compiler(); //The compiler will be used + if (st==%t) then + mode(0); + wheel_build_and_load() + end + case 1 then // A precomputed value + x=read(path+'/x.wrt',8,301); + wheelg=wheelgs; + show(x); +end + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="findmsvccompiler">findmsvccompiler</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/demo_tools/help/fr_FR/demo_end.xml b/modules/demo_tools/help/fr_FR/demo_end.xml new file mode 100755 index 000000000..7afca528f --- /dev/null +++ b/modules/demo_tools/help/fr_FR/demo_end.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="demo_end"> + <refnamediv> + <refname>demo_end</refname> + <refpurpose>Termine une démonstration</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Séquence d'appel</title> + <synopsis>demo_end()</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + La fonction demo_end() sert déterminer une démonstration. Elle doit être utilisée + conjointement à la fonction demo_begin. Elle récupère l'état l'environnement de + la console tel qu'il était avant l'utilisation de demo_begin : largeur de la + console et affectation des variables. + </para> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="demo_begin">demo_begin</link> + </member> + <member> + <link linkend="demo_run">demo_run</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/demo_tools/help/fr_FR/demo_file_choice.xml b/modules/demo_tools/help/fr_FR/demo_file_choice.xml new file mode 100755 index 000000000..a79daa530 --- /dev/null +++ b/modules/demo_tools/help/fr_FR/demo_file_choice.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="demo_file_choice"> + <refnamediv> + <refname>demo_file_choice</refname> + <refpurpose>choisit et exécute un item au sein d'une liste </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Séquence d'appel</title> + <synopsis>demo_file_choice(path,ch)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + La fonction demo_file_choice choisit et exécute un item choisi dans la variable + 'demolist' qui doit figurer avant. La variable 'demolist' est une matrice de + texte dont la premiere colonne contient des noms d'items affichée dans une + fenêtre d'options et la deuxième, le nom d'un fichier correspondant qui sera + exécuté Le titre de la fenêtre d'options est 'Choose a demo'. + La variable 'path' est le chemin d'accès aux fichiers appelée dans la deuxième + colonne. La variable 'ch' permet d'éviter les cas particuliers 'root' et 'anim' + qui sont destinés à des démonstrations particulières. Il faut donc mettre autre + chose que 'root' ou 'anim', 'no' par exemple. + Quand on choisit d'abandonner la fenêtre d'options, la console est remise à sa largeur + initiale. + </para> + </refsection> + <refsection> + <title>Exemples</title> + <programlisting role="example"><![CDATA[ +demolist=['n-pendulum','npend/npend_gateway.sce'; + 'Wheel simulation','wheel2/wheel_gateway.sce'; + 'Bike Simulation','bike/bike_gateway.sce'; + 'ODE''S','ode/ode.dem'; + 'DAE''S','dae/dae.dem'] + +demo_file_choice('SCI/demos/simulation/','no'); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="demo_function_choice">demo_function_choice</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/demo_tools/help/fr_FR/demo_function_choice.xml b/modules/demo_tools/help/fr_FR/demo_function_choice.xml new file mode 100755 index 000000000..b236a8718 --- /dev/null +++ b/modules/demo_tools/help/fr_FR/demo_function_choice.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="demo_function_choice"> + <refnamediv> + <refname>demo_function_choice</refname> + <refpurpose>choisit et exécute un item au sein d'une liste </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Séquence d'appel</title> + <synopsis>demo_function_choice()</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + La fonction demo_function_choice choisit et exécute un item choisi dans la + variable 'demolist' qui doit figurer avant. La variable 'demolist' est une matrice de texte dont la + premiere colonne contient des noms d'items affichés dans une fenêtre d'options + et la deuxième, le nom d'une fonction correspondante qui sera exécuté. Le titre + de la fenêtre d'options est 'Choose a demo'. + Quand on choisit d'abandonner la fenêtre d'options, la console est remise à sa largeur + initiale. + </para> + </refsection> + <refsection> + <title>Exemples</title> + <programlisting role="example"><![CDATA[ +demolist=[ + 'Simulation of a binomial random variable','clf();BinomialT();'; + 'Simulation of a discrete random variable','clf();RndDiscT();'; + 'Simulation of a geometric random variable','clf();GeomT(1000);'; + 'Simulation of a Poisson random variable','clf();PoissonT() ;'; + 'Simulation of an exponential random variable','clf();ExpT();'; + 'Simulation of a Weibull random variable','clf();WeibullT();'; + 'Simulation of an hyper geometric random variable','clf();HyperGeomT();'; + 'Simulation of an Erlang random variable','clf();ErlangT();']; + +demo_function_choice(); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="demo_file_choice">demo_file_choice</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/demo_tools/help/fr_FR/demo_run.xml b/modules/demo_tools/help/fr_FR/demo_run.xml new file mode 100755 index 000000000..865be56fe --- /dev/null +++ b/modules/demo_tools/help/fr_FR/demo_run.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="demo_run"> + <refnamediv> + <refname>demo_run</refname> + <refpurpose>exécute un script </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Séquence d'appel</title> + <synopsis>demo_run(fil)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + La fonction demo_run exécute le script contenu dans le fichier donné en argument. + </para> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="exec">exec</link> + </member> + <member> + <link linkend="demo_begin">demo_begin</link> + </member> + <member> + <link linkend="demo_end">demo_end</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/demo_tools/help/ja_JP/add_demo.xml b/modules/demo_tools/help/ja_JP/add_demo.xml new file mode 100755 index 000000000..1f710799e --- /dev/null +++ b/modules/demo_tools/help/ja_JP/add_demo.xml @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2006-2008 - INRIA - Serge STEER + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="add_demo"> + <refnamediv> + <refname>add_demo</refname> + <refpurpose>デモリストにエントリを追加</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼出し手順</title> + <synopsis>add_demo(title,path)</synopsis> + </refsynopsisdiv> + <refsection> + <title>パラメータ</title> + <variablelist> + <varlistentry> + <term>title</term> + <listitem> + <para>文字列, デモのタイトル</para> + </listitem> + </varlistentry> + <varlistentry> + <term>path</term> + <listitem> + <para>文字列, デモに関連するScilabスクリプトのパス</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + この関数は,デモリストに新規エントリを追加します. + デモはScilabスクリプトファイルにより実行されます. + 指定した<literal>title</literal>がすでにデモリストに存在し, + 同じファイルに関連する場合,何も行われません. + この関数はファイルが存在するかどうか確認します. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +//簡単なデモスクリプトを作成 +path=TMPDIR+'/foo.sce'; +mputl('disp Hello',path) +add_demo('My first demo',path) +//このデモが"Demos"メニューにより実行できるようになりました. + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>参照</title> + <simplelist type="inline"> + <member> + <link linkend="add_help_chapter">add_help_chapter</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/demo_tools/help/ja_JP/addchapter.sce b/modules/demo_tools/help/ja_JP/addchapter.sce new file mode 100755 index 000000000..b698481ff --- /dev/null +++ b/modules/demo_tools/help/ja_JP/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Demo Tools",SCI+"/modules/demo_tools/help/ja_JP",%T); + diff --git a/modules/demo_tools/help/pt_BR/add_demo.xml b/modules/demo_tools/help/pt_BR/add_demo.xml new file mode 100755 index 000000000..3349a7e98 --- /dev/null +++ b/modules/demo_tools/help/pt_BR/add_demo.xml @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2006-2008 - INRIA - Serge STEER + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="add_demo" xml:lang="en"> + <refnamediv> + <refname>add_demo</refname> + <refpurpose>adiciona uma entrada na lista de demonstraes</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqncia de Chamamento</title> + <synopsis>add_demo(title,path)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parmetros</title> + <variablelist> + <varlistentry> + <term>title</term> + <listitem> + <para>string, o ttulo da demonstrao</para> + </listitem> + </varlistentry> + <varlistentry> + <term>path</term> + <listitem> + <para>string, o endereo do script scilab associado + demonstrao + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrio</title> + <para>Esta funo adiciona uma nova entrada na lista de demonstraes. A + demonstrao deve ser executada por um arquivo script do Scilab. Se o dado + ttulo j existir <literal>title</literal> na lista de demonstraes + associada ao mesmo arquivo, nada feito. Esta funo checa se o arquivo + existe. + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +//criando um simples script de demonstrao +path=TMPDIR+'/foo.sce'; +mputl('disp Hello',path) +add_demo('My first demo',path) +//a demonstrao pode agora ser executada atravs do menu "Demos". + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Ver Tambm</title> + <simplelist type="inline"> + <member> + <link linkend="add_help_chapter">add_help_chapter</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/demo_tools/help/pt_BR/addchapter.sce b/modules/demo_tools/help/pt_BR/addchapter.sce new file mode 100755 index 000000000..fe9db8e97 --- /dev/null +++ b/modules/demo_tools/help/pt_BR/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Ferramentas de Demonstração",SCI+"/modules/demo_tools/help/pt_BR",%T); + diff --git a/modules/demo_tools/help/ru_RU/addchapter.sce b/modules/demo_tools/help/ru_RU/addchapter.sce new file mode 100755 index 000000000..a96763689 --- /dev/null +++ b/modules/demo_tools/help/ru_RU/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Demo Tools",SCI+"/modules/demo_tools/help/ru_RU",%T); + diff --git a/modules/demo_tools/images/logo_scilab.png b/modules/demo_tools/images/logo_scilab.png Binary files differnew file mode 100755 index 000000000..bef8ba51f --- /dev/null +++ b/modules/demo_tools/images/logo_scilab.png diff --git a/modules/demo_tools/license.txt b/modules/demo_tools/license.txt new file mode 100755 index 000000000..933635069 --- /dev/null +++ b/modules/demo_tools/license.txt @@ -0,0 +1,10 @@ +Copyright: +Copyright (c) 2008 - DIGITEO +Copyright (c) 1989-2008 - INRIA + +License: +This module must be used under the terms of the CeCILL. +This module file is licensed as described in the file COPYING, which +you should have received as part of this distribution. The terms +are also available at +http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt diff --git a/modules/demo_tools/locales/ca_ES.po b/modules/demo_tools/locales/ca_ES.po new file mode 100755 index 000000000..0af88d7f2 --- /dev/null +++ b/modules/demo_tools/locales/ca_ES.po @@ -0,0 +1,38 @@ +# Catalan translation for scilab +# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2012-04-18 18:59+0000\n" +"Last-Translator: Marc Coll Carrillo <Unknown>\n" +"Language-Team: Catalan <ca@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: ca\n" + +#, c-format +msgid "%s: The file %s does not exist.\n" +msgstr "%s: el fitxer %s no existeix.\n" + +#, c-format +msgid "" +"%s: Wrong input argument #%d: Path to a scilab script file expected.\n" +msgstr "" +"%s: el paràmetre d'entrada #%d és incorrecte: s'esperava un camí a un fitxer " +"de script de Scilab.\n" + +msgid "Demonstrations" +msgstr "" + +msgid " -- View Code -- " +msgstr " -- Visualitza el codi -- " + +msgid "Open in Editor" +msgstr "Obre amb l'editor" diff --git a/modules/demo_tools/locales/cs_CZ.po b/modules/demo_tools/locales/cs_CZ.po new file mode 100755 index 000000000..dc3936d7c --- /dev/null +++ b/modules/demo_tools/locales/cs_CZ.po @@ -0,0 +1,36 @@ +# Czech translation for scilab +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2011-10-03 16:45+0000\n" +"Last-Translator: Zbyněk Schwarz <Unknown>\n" +"Language-Team: Czech <cs@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" + +#, c-format +msgid "%s: The file %s does not exist.\n" +msgstr "%s: Soubor %s neexistuje.\n" + +#, c-format +msgid "" +"%s: Wrong input argument #%d: Path to a scilab script file expected.\n" +msgstr "" +"%s: Špatný vstupní argument #%d: Očekávána cesta souboru skriptu scilab.\n" + +msgid "Demonstrations" +msgstr "" + +msgid " -- View Code -- " +msgstr " -- Zobrazit Kód -- " + +msgid "Open in Editor" +msgstr "Otevřít v Editoru" diff --git a/modules/demo_tools/locales/de_DE.po b/modules/demo_tools/locales/de_DE.po new file mode 100755 index 000000000..4344ea708 --- /dev/null +++ b/modules/demo_tools/locales/de_DE.po @@ -0,0 +1,36 @@ +# German translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2012-01-31 15:07+0000\n" +"Last-Translator: Niko K <Unknown>\n" +"Language-Team: German <de@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: de\n" + +#, c-format +msgid "%s: The file %s does not exist.\n" +msgstr "%s: Die Datei %s existiert nicht.\n" + +#, c-format +msgid "" +"%s: Wrong input argument #%d: Path to a scilab script file expected.\n" +msgstr "%s: Falsches Eingangsargument #%d: Pfad zu Scilabskript erwartet.\n" + +msgid "Demonstrations" +msgstr "" + +msgid " -- View Code -- " +msgstr " - Code anzeigen - " + +msgid "Open in Editor" +msgstr "Im Editor öffnen" diff --git a/modules/demo_tools/locales/demo_tools.pot b/modules/demo_tools/locales/demo_tools.pot new file mode 100755 index 000000000..c87671ef3 --- /dev/null +++ b/modules/demo_tools/locales/demo_tools.pot @@ -0,0 +1,46 @@ +# Localization of the module demo_tools-macros +# Please see in SCI/tools/localization for localization management +# Copyright (C) 2007-2008 - INRIA +# Copyright (C) 2008-2011 - DIGITEO +# Copyright (C) 2012-2014 - Scilab-Enterprises +# This file is distributed under the same license as the Scilab package. +# +msgid "" +msgstr "" +"Project-Id-Version: Scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"Last-Translator: Vincent COUVERT <vincent.couvert@scilab-enterprises.com>\n" +"Language-Team: Scilab Localization <localization@lists.scilab.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"Revision-Date: 2015-03-27 13:54+0100\n" + +# File: macros/add_demo.sci, line: 38 +#, c-format +msgid "%s: The file %s does not exist.\n" +msgstr "" + +# +# File: macros/add_demo.sci, line: 42 +#, c-format +msgid "%s: Wrong input argument #%d: Path to a scilab script file expected.\n" +msgstr "" + +# +# File: macros/demo_gui.sci, line: 42 +# File: macros/demo_gui.sci, line: 64 +msgid "Demonstrations" +msgstr "" + +# +# File: macros/demo_viewCode.sci, line: 31 +# File: macros/demo_viewCode.sci, line: 38 +msgid " -- View Code -- " +msgstr "" + +# +# File: macros/demo_viewCode.sci, line: 33 +msgid "Open in Editor" +msgstr "" diff --git a/modules/demo_tools/locales/es_ES.po b/modules/demo_tools/locales/es_ES.po new file mode 100755 index 000000000..81d0ddb32 --- /dev/null +++ b/modules/demo_tools/locales/es_ES.po @@ -0,0 +1,38 @@ +# Spanish translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2011-10-21 22:36+0000\n" +"Last-Translator: Fido <Unknown>\n" +"Language-Team: Spanish <es@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: es\n" + +#, c-format +msgid "%s: The file %s does not exist.\n" +msgstr "%s: El archivo %s no existe.\n" + +#, c-format +msgid "" +"%s: Wrong input argument #%d: Path to a scilab script file expected.\n" +msgstr "" +"%s: Argumento de entrada #%d inválido: Se esperaba una ruta a un script " +"scilab.\n" + +msgid "Demonstrations" +msgstr "" + +msgid " -- View Code -- " +msgstr " -- Ver Código -- " + +msgid "Open in Editor" +msgstr "Abrir en el editor" diff --git a/modules/demo_tools/locales/fr_FR.po b/modules/demo_tools/locales/fr_FR.po new file mode 100755 index 000000000..c25acf96d --- /dev/null +++ b/modules/demo_tools/locales/fr_FR.po @@ -0,0 +1,38 @@ +# French translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2014-03-19 08:55+0000\n" +"Last-Translator: Julie PAUL <Unknown>\n" +"Language-Team: French <fr@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: fr\n" + +#, c-format +msgid "%s: The file %s does not exist.\n" +msgstr "%s : Le fichier %s n'existe pas.\n" + +#, c-format +msgid "" +"%s: Wrong input argument #%d: Path to a scilab script file expected.\n" +msgstr "" +"%s : Argument d'entrée n°%d faux : Un chemin vers un fichier de script " +"Scilab attendu.\n" + +msgid "Demonstrations" +msgstr "Démonstrations" + +msgid " -- View Code -- " +msgstr " -- Voir le code -- " + +msgid "Open in Editor" +msgstr "Ouvrir dans l'éditeur" diff --git a/modules/demo_tools/locales/it_IT.po b/modules/demo_tools/locales/it_IT.po new file mode 100755 index 000000000..2548880d3 --- /dev/null +++ b/modules/demo_tools/locales/it_IT.po @@ -0,0 +1,38 @@ +# Italian translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2015-02-14 21:10+0000\n" +"Last-Translator: Carml <mighty.carml@gmail.com>\n" +"Language-Team: Italian <it@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: it\n" + +#, c-format +msgid "%s: The file %s does not exist.\n" +msgstr "%s: Il file %s non esiste.\n" + +#, c-format +msgid "" +"%s: Wrong input argument #%d: Path to a scilab script file expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d è sbagliato: era atteso il percorso ad uno " +"script di Scilab.\n" + +msgid "Demonstrations" +msgstr "Dimostrazioni" + +msgid " -- View Code -- " +msgstr " -- Mostra codice -- " + +msgid "Open in Editor" +msgstr "Apri nell'editor" diff --git a/modules/demo_tools/locales/ja_JP.po b/modules/demo_tools/locales/ja_JP.po new file mode 100755 index 000000000..7e64fb211 --- /dev/null +++ b/modules/demo_tools/locales/ja_JP.po @@ -0,0 +1,38 @@ +# Japanese translation for scilab +# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2014-03-30 13:27+0000\n" +"Last-Translator: Rui Hirokawa <Unknown>\n" +"Language-Team: Japanese <z-saito@guitar.ocn.ne.jp>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"X-Poedit-Country: Japan\n" +"Language: ja\n" +"X-Poedit-Language: Japanese\n" + +#, c-format +msgid "%s: The file %s does not exist.\n" +msgstr "%s: ファイル %s は存在しません。\n" + +#, c-format +msgid "" +"%s: Wrong input argument #%d: Path to a scilab script file expected.\n" +msgstr "%s: 入力引数 #%dが間違っています: scilabスクリプトファイルのパスを指定してください.\n" + +msgid "Demonstrations" +msgstr "デモンストレーション" + +msgid " -- View Code -- " +msgstr " -- コードを表示 -- " + +msgid "Open in Editor" +msgstr "エディタで開く" diff --git a/modules/demo_tools/locales/pl_PL.po b/modules/demo_tools/locales/pl_PL.po new file mode 100755 index 000000000..f55496040 --- /dev/null +++ b/modules/demo_tools/locales/pl_PL.po @@ -0,0 +1,38 @@ +# Polish translation for scilab +# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2011-10-20 14:06+0000\n" +"Last-Translator: Grzegorz Szostek <Unknown>\n" +"Language-Team: Polish <pl@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: pl\n" + +#, c-format +msgid "%s: The file %s does not exist.\n" +msgstr "%s: Plik %s nie istnieje.\n" + +#, c-format +msgid "" +"%s: Wrong input argument #%d: Path to a scilab script file expected.\n" +msgstr "" +"%s: Nieprawidłowy argument wejściowy #%d: Oczekiwano ścieżki do pliku " +"skryptu Scilab.\n" + +msgid "Demonstrations" +msgstr "" + +msgid " -- View Code -- " +msgstr " -- Zobacz Kod -- " + +msgid "Open in Editor" +msgstr "Otwórz w edytorze" diff --git a/modules/demo_tools/locales/pt_BR.po b/modules/demo_tools/locales/pt_BR.po new file mode 100755 index 000000000..cef98c3de --- /dev/null +++ b/modules/demo_tools/locales/pt_BR.po @@ -0,0 +1,38 @@ +# Brazilian Portuguese translation for scilab +# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2012-01-06 15:45+0000\n" +"Last-Translator: RodolfoRG <rodolforg@gmail.com>\n" +"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: pt_BR\n" + +#, c-format +msgid "%s: The file %s does not exist.\n" +msgstr "%s: O arquivo %s não existe.\n" + +#, c-format +msgid "" +"%s: Wrong input argument #%d: Path to a scilab script file expected.\n" +msgstr "" +"%s: O argumento de entrada #%d está incorreto: esperava-se um caminho para " +"um arquivo script do Scilab.\n" + +msgid "Demonstrations" +msgstr "" + +msgid " -- View Code -- " +msgstr " -- Ver Código -- " + +msgid "Open in Editor" +msgstr "Abrir no editor" diff --git a/modules/demo_tools/locales/ru_RU.po b/modules/demo_tools/locales/ru_RU.po new file mode 100755 index 000000000..891048ba4 --- /dev/null +++ b/modules/demo_tools/locales/ru_RU.po @@ -0,0 +1,37 @@ +# Russian translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2014-03-23 13:53+0000\n" +"Last-Translator: Stanislav V. Kroter <krotersv@gmail.com>\n" +"Language-Team: Russian <ru@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: ru\n" + +#, c-format +msgid "%s: The file %s does not exist.\n" +msgstr "%s: Файл %s не существует.\n" + +#, c-format +msgid "" +"%s: Wrong input argument #%d: Path to a scilab script file expected.\n" +msgstr "" +"%s: Неверный входной аргумент №%d: ожидался путь до файла-сценария.\n" + +msgid "Demonstrations" +msgstr "Наглядные примеры" + +msgid " -- View Code -- " +msgstr " -- Просмотр кода -- " + +msgid "Open in Editor" +msgstr "Открыть в Редакторе" diff --git a/modules/demo_tools/locales/uk_UA.po b/modules/demo_tools/locales/uk_UA.po new file mode 100755 index 000000000..c9033bb58 --- /dev/null +++ b/modules/demo_tools/locales/uk_UA.po @@ -0,0 +1,39 @@ +# Ukrainian translation for scilab +# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 +# This file is distributed under the same license as the scilab package. +# +# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. +# Yuri Chornoivan <yurchor@ukr.net>, 2010. +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2014-03-21 11:16+0000\n" +"Last-Translator: Yuri Chornoivan <yurchor@gmail.com>\n" +"Language-Team: Ukrainian <translation@linux.org.ua>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: uk\n" + +#, c-format +msgid "%s: The file %s does not exist.\n" +msgstr "%s: файла з назвою %s не існує.\n" + +#, c-format +msgid "" +"%s: Wrong input argument #%d: Path to a scilab script file expected.\n" +msgstr "" +"%s: помилковий вхідний параметр №%d: мало бути вказано шлях до файла скрипту " +"scilab.\n" + +msgid "Demonstrations" +msgstr "Демонстрації" + +msgid " -- View Code -- " +msgstr " -- Перегляд коду -- " + +msgid "Open in Editor" +msgstr "Відкрити у редакторі" diff --git a/modules/demo_tools/locales/zh_CN.po b/modules/demo_tools/locales/zh_CN.po new file mode 100755 index 000000000..196a5121c --- /dev/null +++ b/modules/demo_tools/locales/zh_CN.po @@ -0,0 +1,36 @@ +# Simplified Chinese translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2015-01-26 14:35+0000\n" +"Last-Translator: Wesh <Unknown>\n" +"Language-Team: Simplified Chinese <zh_CN@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: \n" + +#, c-format +msgid "%s: The file %s does not exist.\n" +msgstr "%s:文件%s不存在。\n" + +#, c-format +msgid "" +"%s: Wrong input argument #%d: Path to a scilab script file expected.\n" +msgstr "%s:第%d个输入参数错误:应该是Scilab脚本文件的路径。\n" + +msgid "Demonstrations" +msgstr "演示" + +msgid " -- View Code -- " +msgstr " -- 浏览代码 -- " + +msgid "Open in Editor" +msgstr "用编辑器打开" diff --git a/modules/demo_tools/locales/zh_TW.po b/modules/demo_tools/locales/zh_TW.po new file mode 100755 index 000000000..d8d606de9 --- /dev/null +++ b/modules/demo_tools/locales/zh_TW.po @@ -0,0 +1,36 @@ +# Chinese (Traditional) translation for scilab +# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2011-09-02 07:50+0000\n" +"Last-Translator: Scilab.team <Unknown>\n" +"Language-Team: Chinese (Traditional) <zh_TW@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: \n" + +#, c-format +msgid "%s: The file %s does not exist.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong input argument #%d: Path to a scilab script file expected.\n" +msgstr "" + +msgid "Demonstrations" +msgstr "" + +msgid " -- View Code -- " +msgstr " -- 檢視程式碼 -- " + +msgid "Open in Editor" +msgstr "開啟文字編輯器" diff --git a/modules/demo_tools/macros/add_demo.bin b/modules/demo_tools/macros/add_demo.bin Binary files differnew file mode 100755 index 000000000..16709cf1e --- /dev/null +++ b/modules/demo_tools/macros/add_demo.bin diff --git a/modules/demo_tools/macros/add_demo.sci b/modules/demo_tools/macros/add_demo.sci new file mode 100755 index 000000000..9f29a47dd --- /dev/null +++ b/modules/demo_tools/macros/add_demo.sci @@ -0,0 +1,58 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) INRIA +// Copyright (C) DIGITEO - 2011 - Allan CORNET +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +function add_demo(demotitle, path) + + if and(getscilabmode() <> ["NW";"STD"]) then + return; + end + + global demolist; + global demolistlock; + + if isempty(demolist) then + if isempty(demolistlock) then + demolistlock = %t; + // we load scilab demos only when it is required + modules = getmodules(); + for i=1:size(modules,"*") + if isfile("SCI/modules/"+modules(i)+"/demos/" + modules(i) + ".dem.gateway.sce") then + exec("SCI/modules/"+modules(i)+"/demos/" + modules(i) + ".dem.gateway.sce",-1); + end + end + clear demolistlock; + clearglobal demolistlock; + end + end + + path = pathconvert(path, %f, %t); + + if ~isfile(path) then + error(msprintf(gettext("%s: The file %s does not exist.\n"), "add_demo", path)); + end + + if isdir(path) then + error(msprintf(gettext("%s: Wrong input argument #%d: Path to a scilab script file expected.\n"), "add_demo", 2)); + end + + k = find(demolist(:,1) == demotitle); + + if k == [] then + demolist = [demolist; demotitle,path]; + else + k1 = find(demolist(k,2) == path) + if k1 == [] then + demolist = [demolist; demotitle + " (" + string(size(k,"*")) + ")", path]; + end + end + + clear demolist + +endfunction diff --git a/modules/demo_tools/macros/buildmacros.bat b/modules/demo_tools/macros/buildmacros.bat new file mode 100755 index 000000000..a73ca67f8 --- /dev/null +++ b/modules/demo_tools/macros/buildmacros.bat @@ -0,0 +1,11 @@ + +rem Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +rem Copyright (C) 2008 - INRIA +rem +rem This file must be used under the terms of the CeCILL. +rem This source file is licensed as described in the file COPYING, which +rem you should have received as part of this distribution. The terms +rem are also available at +rem http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit; diff --git a/modules/demo_tools/macros/buildmacros.sce b/modules/demo_tools/macros/buildmacros.sce new file mode 100755 index 000000000..1e1f691e1 --- /dev/null +++ b/modules/demo_tools/macros/buildmacros.sce @@ -0,0 +1,15 @@ + +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2007-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr> +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +if (isdef("genlib") == %f) then + exec(SCI+"/modules/functions/scripts/buildmacros/loadgenlib.sce"); +end + +genlib("demo_toolslib","SCI/modules/demo_tools/macros",%f,%t); diff --git a/modules/demo_tools/macros/cleanmacros.bat b/modules/demo_tools/macros/cleanmacros.bat new file mode 100755 index 000000000..4ad1bbae2 --- /dev/null +++ b/modules/demo_tools/macros/cleanmacros.bat @@ -0,0 +1,13 @@ + +rem Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +rem Copyright (C) 2008 - INRIA +rem +rem This file must be used under the terms of the CeCILL. +rem This source file is licensed as described in the file COPYING, which +rem you should have received as part of this distribution. The terms +rem are also available at +rem http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +@del *.bin 2>NUL +@del lib 2>NUL +@del names 2>NUL diff --git a/modules/demo_tools/macros/demo_begin.bin b/modules/demo_tools/macros/demo_begin.bin Binary files differnew file mode 100755 index 000000000..04187ce14 --- /dev/null +++ b/modules/demo_tools/macros/demo_begin.bin diff --git a/modules/demo_tools/macros/demo_begin.sci b/modules/demo_tools/macros/demo_begin.sci new file mode 100755 index 000000000..d04bcd092 --- /dev/null +++ b/modules/demo_tools/macros/demo_begin.sci @@ -0,0 +1,39 @@ + +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2007-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr> +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +function demo_begin() + + // Sauvegarde du mode + demo_save_mode = mode(); + + // Sauvegarde de la pagination + demo_save_lines = lines(); + + // Sauvegarde des variables locales + local_variables = who("local"); + + // Construction de la commande pour sauvegarder les variables locales + local_cmd_str = "save(TMPDIR+''/who_local.dat''"; + for i=1:size(local_variables,"r") + local_cmd_str = local_cmd_str + "," + local_variables(i); + end + local_cmd_str = local_cmd_str + ");"; + + // Sauvegarde des variables locales dans le fichier TMPDIR/who_local.dat + execstr(local_cmd_str); + + // Suppression des variables afin d'avoir un environnement propre pour les + // Démos + clear + + // Suppression de la pagination + lines(0); + +endfunction diff --git a/modules/demo_tools/macros/demo_choose.bin b/modules/demo_tools/macros/demo_choose.bin Binary files differnew file mode 100755 index 000000000..260a3ddf7 --- /dev/null +++ b/modules/demo_tools/macros/demo_choose.bin diff --git a/modules/demo_tools/macros/demo_choose.sci b/modules/demo_tools/macros/demo_choose.sci new file mode 100755 index 000000000..ca0209284 --- /dev/null +++ b/modules/demo_tools/macros/demo_choose.sci @@ -0,0 +1,14 @@ + +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2007-2008 - INRIA - Ghislain HELIOT +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +function [num]=demo_choose(fil) + load(fil,"choice","titl"); + num=x_choose(choice,titl); +endfunction diff --git a/modules/demo_tools/macros/demo_compiler.bin b/modules/demo_tools/macros/demo_compiler.bin Binary files differnew file mode 100755 index 000000000..0220a65a0 --- /dev/null +++ b/modules/demo_tools/macros/demo_compiler.bin diff --git a/modules/demo_tools/macros/demo_compiler.sci b/modules/demo_tools/macros/demo_compiler.sci new file mode 100755 index 000000000..90e83ef05 --- /dev/null +++ b/modules/demo_tools/macros/demo_compiler.sci @@ -0,0 +1,18 @@ + +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2007-2008 - INRIA - Ghislain HELIOT +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +function [ans]=demo_compiler() + if (~haveacompiler()) then + messagebox(["Scilab doesn''t find a C compiler","This demo is disabled"],"modal"); + ans=%f; + else + ans=%t; + end +endfunction diff --git a/modules/demo_tools/macros/demo_end.bin b/modules/demo_tools/macros/demo_end.bin Binary files differnew file mode 100755 index 000000000..86d5768a2 --- /dev/null +++ b/modules/demo_tools/macros/demo_end.bin diff --git a/modules/demo_tools/macros/demo_end.sci b/modules/demo_tools/macros/demo_end.sci new file mode 100755 index 000000000..1d0c4b4e8 --- /dev/null +++ b/modules/demo_tools/macros/demo_end.sci @@ -0,0 +1,32 @@ + +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2007-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr> +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +function demo_end() + + // Suppression des variables utilisées durant la démonstration + clear; + + // Récupération de l'environnement + load(TMPDIR+"/who_local.dat"); + + // Suppression du fichier de sauvegarde de l'environnement + mdelete(TMPDIR+"/who_local.dat"); + + // Récupération de la pagination + lines(demo_save_lines); + + // Récupération du mode + mode(demo_save_mode); + + // Suppression de ces deux variables unitiles + clear demo_save_lines; + clear demo_save_mode; + +endfunction diff --git a/modules/demo_tools/macros/demo_file_choice.bin b/modules/demo_tools/macros/demo_file_choice.bin Binary files differnew file mode 100755 index 000000000..ccfbe0cbc --- /dev/null +++ b/modules/demo_tools/macros/demo_file_choice.bin diff --git a/modules/demo_tools/macros/demo_file_choice.sci b/modules/demo_tools/macros/demo_file_choice.sci new file mode 100755 index 000000000..149cee61d --- /dev/null +++ b/modules/demo_tools/macros/demo_file_choice.sci @@ -0,0 +1,81 @@ + +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2007-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr> +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +// demolist +// demopath +// demolistlabel + +function [] = demo_file_choice() + + while %t then + + if ~exists("demolistlabel") then + demolistlabel = "choose a demo"; + end + + num = x_choose_modeless(demolist(:,1),demolistlabel); + + if num == 0 then + + demo_clean(); + return; + + else + + script_path = demolist(num,2); + + if (exists("demopath")) & (demopath <> "") then + script_path = pathconvert( demopath + "/" + script_path , %F , %T ); + end + + if grep(script_path,"dem.gateway.sce") == 1 then + + // Gateway + + previous_demolist = demolist; + previous_demopath = demopath; + previous_demolistlabel = demolistlabel; + + exec(script_path,-1); + demo_file_choice(); + + demolist = previous_demolist; + demopath = previous_demopath; + demolistlabel = previous_demolistlabel; + + elseif grep(script_path,"dem.sce") == 1 then + // Demonstration + demo_clean(); + demo_run(script_path); + else + // Old system + exec(script_path,-1); + + end + end + end + +endfunction + + +function [] = demo_clean() + + // Suppression de toutes les fenêtres graphiques créé + // par les précédentes démos + + opened_windows = winsid(); + + for i=1:size(opened_windows,"c") + if (opened_windows(i)>=100000) & (opened_windows(i)<=100100) then + xdel(opened_windows(i)); + end + end + +endfunction diff --git a/modules/demo_tools/macros/demo_folder_choice.bin b/modules/demo_tools/macros/demo_folder_choice.bin Binary files differnew file mode 100755 index 000000000..41b7ad54e --- /dev/null +++ b/modules/demo_tools/macros/demo_folder_choice.bin diff --git a/modules/demo_tools/macros/demo_folder_choice.sci b/modules/demo_tools/macros/demo_folder_choice.sci new file mode 100755 index 000000000..e930fc8ea --- /dev/null +++ b/modules/demo_tools/macros/demo_folder_choice.sci @@ -0,0 +1,63 @@ + +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2007-2008 - INRIA - Ghislain HELIOT +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +function []=demo_folder_choice(path,ch) + + if ch=="anim" then + deff("[]=demoexc(num)","exec(path+demolist(num,2),-1)") + fs = get("figure_style"); + while %t then + num=x_choose_modeless(demolist(:,1),"Choose a demo"); + if num==0 then + set("figure_style",fs); + lines(oldln(1)); + return + else + set("figure_style","old"); + xdel(); + clf(); + demoexc(num); + end + end + + else + + if ch=="root" then + deff("[]=demoexec(num)","exec(demolist(num,2),-1)") + while %t then + num=x_choose_modeless(demolist(:,1),["Click to choose a demo"; + "(see also in SCIDIR/demos/...)"]); + if num==0 then + lines(oldln(1)) + return + else + demoexec(num); + end + end + + else + deff("[]=demoex(num)","exec(path+demolist(num,2),-1)") + while %t then + num=x_choose_modeless(demolist(:,1),"Choose a demo"); + if num==0 then + lines(oldln(1)) + return + else + xdel(0); + clf(); + demoex(num); + end + end + end + end + + mode(0); + +endfunction diff --git a/modules/demo_tools/macros/demo_function_choice.bin b/modules/demo_tools/macros/demo_function_choice.bin Binary files differnew file mode 100755 index 000000000..5acbc5e98 --- /dev/null +++ b/modules/demo_tools/macros/demo_function_choice.bin diff --git a/modules/demo_tools/macros/demo_function_choice.sci b/modules/demo_tools/macros/demo_function_choice.sci new file mode 100755 index 000000000..562f4de9e --- /dev/null +++ b/modules/demo_tools/macros/demo_function_choice.sci @@ -0,0 +1,25 @@ + +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2007-2008 - INRIA - Ghislain HELIOT +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +function []=demo_function_choice() + while %t then + num=x_choose(demolist(:,1),"Choose a demo"); + if num==0 then + xdel(0); + lines(oldln(1)); + return; + else + xdel(0); + clf(); + execstr(demolist(num,2)); + end, + end + mode(0); +endfunction diff --git a/modules/demo_tools/macros/demo_gui.bin b/modules/demo_tools/macros/demo_gui.bin Binary files differnew file mode 100755 index 000000000..fa438b8af --- /dev/null +++ b/modules/demo_tools/macros/demo_gui.bin diff --git a/modules/demo_tools/macros/demo_gui.sci b/modules/demo_tools/macros/demo_gui.sci new file mode 100755 index 000000000..6cf7c9144 --- /dev/null +++ b/modules/demo_tools/macros/demo_gui.sci @@ -0,0 +1,156 @@ +// +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Pierre MARECHAL +// Copyright (C) 2012 - DIGITEO - Vincent COUVERT +// Copyright (C) 2014 - Scilab Enterprises - Anais AUBERT +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +// + +function demo_gui() + + global demolist; // Demos list is defined in scilab.start + global demolistlock; + if isempty(demolist) then + if isempty(demolistlock) then + demolistlock = %t; + // we load scilab demos only when it is required + modules = getmodules(); + for i=1:size(modules,"*") + if isfile("SCI/modules/"+modules(i)+"/demos/" + modules(i) + ".dem.gateway.sce") then + exec("SCI/modules/"+modules(i)+"/demos/" + modules(i) + ".dem.gateway.sce",-1); + end + end + clear demolistlock; + clearglobal demolistlock; + end + end + + if get("scilab_demo_fig") <> [] then + delete(get("scilab_demo_fig")); + end + + + + // Figure creation + // ========================================================================= + demo_fig = loadGui(SCI + "/modules/demo_tools/gui/demo_gui.xml"); + demo_fig.figure_name = _("Demonstrations"); + // Parameters + // ========================================================================= + demo_fig.userdata = struct(); + demo_fig.userdata.frame_number = 1; // Frame number + demo_fig.userdata.subdemolist = []; + + lst_vars_locals = ["%h_delete"; + "demo_fig"; + "get_figure_handle"; + "subdemolist"; + "demolistlock"; + "resize_gui"; + "demo_gui_update"; + "demo_gui"]; + + clear_vars_str = strcat("clear " + lst_vars_locals, ";") + ";"; + + callback_close_str = "delete(get(""scilab_demo_fig""));"; + callback_close_str = callback_close_str + clear_vars_str + "clearglobal demolistlock;"; + + b = get("frame_1", "border"); + b.title = _("Demonstrations"); + set("frame_1", "border", b); + set("listbox_1", "string", "<html>"+demolist(:, 1)+" ▸ </html>"); + set("listbox_1", "userdata", demolist); + + demo_fig.closerequestfcn = callback_close_str; + + demo_fig.visible = "on"; // Display now + +endfunction + +function script_path = demo_gui_update() + global subdemolist; + + // Suppression d'une figure précédemment dessinée, si figure il y a ... + all_figs = winsid(); + all_figs = all_figs(all_figs >= 100001); // All Scilab graphic windows opened for demos + for fig_index = 1:size(all_figs, "*") + fig_to_del = get_figure_handle(all_figs(fig_index)); + if ~isempty(fig_to_del) then + delete(fig_to_del); + end + end + + // Handle de la figure + demo_fig = get("scilab_demo_fig"); + + // Frame sur laquelle on a cliqué + my_selframe_num = msscanf(gcbo.tag, "listbox_%d"); + + // Récupération de la liste des démos + my_index = gcbo.value; + if my_index == [] then + script_path = []; + return; + end + + my_data = gcbo.user_data; + + script_path = my_data(my_index(1,1),2); + if grep(script_path,"dem.gateway.sce") == 1 then + // On est dans le cas ou une nouvelle frame va être affichée + + // Mise à jour du nombre de frame + demo_fig.userdata.frame_number = my_selframe_num+1; + resize_gui(demo_fig.userdata.frame_number); + previous_demolist = demo_fig.userdata.subdemolist; + + mode(-1); + exec(script_path,-1); // This script erases subdemolist variable if needed + + // Create a temporary variable for userdata + // because mixing handles and structs can lead to problems + ud = demo_fig.userdata; + ud.subdemolist = subdemolist; + demo_fig.userdata = ud; + clearglobal subdemolist + + frame = get("frame_" + string(my_selframe_num+1)); + + b = frame.border; + b.title = my_data(my_index(1,1),1) + frame.border = b; + + listbox = get("listbox_" + string(my_selframe_num+1)); + listbox.string = demo_fig.userdata.subdemolist(:, 1); + + listbox.userdata = demo_fig.userdata.subdemolist; + + //Prints an arrow if its a submenu + a = grep(listbox.userdata(:,2),"dem.gateway.sce") + listbox.string(a) = "<html>"+listbox.string(a)+" ▸ </html>"; + + ud = demo_fig.userdata; + ud.subdemolist = previous_demolist; + demo_fig.userdata = ud; + else + // Mise à jour du nombre de frame + demo_fig.userdata.frame_number = my_selframe_num; + resize_gui(demo_fig.userdata.frame_number); + end +endfunction + +function resize_gui(frame_number) + axes_w = frame_number * 250; // axes width + demo_fig = get("scilab_demo_fig"); + demo_fig.axes_size(1) = axes_w; + demo_fig.children($:-1:$-(frame_number-1)).visible = "on"; + //hide other frame + demo_fig.children($-frame_number:-1:1).visible = "off"; + //clean listbox + demo_fig.children($-frame_number:-1:1).children(1).string = ""; +endfunction diff --git a/modules/demo_tools/macros/demo_run.bin b/modules/demo_tools/macros/demo_run.bin Binary files differnew file mode 100755 index 000000000..49fbdc3dc --- /dev/null +++ b/modules/demo_tools/macros/demo_run.bin diff --git a/modules/demo_tools/macros/demo_run.sci b/modules/demo_tools/macros/demo_run.sci new file mode 100755 index 000000000..8a9b89280 --- /dev/null +++ b/modules/demo_tools/macros/demo_run.sci @@ -0,0 +1,13 @@ + +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2007-2008 - INRIA - Ghislain HELIOT +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +function demo_run(fil) + exec(fil); +endfunction diff --git a/modules/demo_tools/macros/demo_viewCode.bin b/modules/demo_tools/macros/demo_viewCode.bin Binary files differnew file mode 100755 index 000000000..bf4b3e43d --- /dev/null +++ b/modules/demo_tools/macros/demo_viewCode.bin diff --git a/modules/demo_tools/macros/demo_viewCode.sci b/modules/demo_tools/macros/demo_viewCode.sci new file mode 100755 index 000000000..908e6ba38 --- /dev/null +++ b/modules/demo_tools/macros/demo_viewCode.sci @@ -0,0 +1,43 @@ +// +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Pierre MARECHAL +// Copyright (C) 2010 - DIGITEO - Allan CORNET +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +// + +function demo_viewCode(this_script) + + if (~isdef("editor") & (funptr("editor")==0)) then + return + end + + if isfile(this_script) then + path = fullpath(this_script); + else + path = get_absolute_file_path(this_script) + this_script; + end + + // Récupération du handle sur la fenêtre courante + my_fig = gcf(); + + //Création du nouveau menu + if getos() == "Darwin" then + my_menu = uimenu( "parent", my_fig, .. + "label" , gettext(" -- View Code -- ")); + my_submenu = uimenu("parent", my_menu , .. + "label" , gettext("Open in Editor"), .. + "Foregroundcolor" , [ 0/255 81/255 6/255 ] , .. + "callback" , "editor("""+path+""", ""readonly"")" ); + else + my_menu = uimenu( "parent" , my_fig , .. + "label" , gettext(" -- View Code -- ") , .. + "Foregroundcolor" , [ 0/255 81/255 6/255 ] , .. + "callback" , "editor("""+path+""", ""readonly"")" ); + end +endfunction + diff --git a/modules/demo_tools/macros/lib b/modules/demo_tools/macros/lib Binary files differnew file mode 100755 index 000000000..cfadfe206 --- /dev/null +++ b/modules/demo_tools/macros/lib diff --git a/modules/demo_tools/macros/names b/modules/demo_tools/macros/names new file mode 100755 index 000000000..edff891c9 --- /dev/null +++ b/modules/demo_tools/macros/names @@ -0,0 +1,11 @@ +add_demo +demo_begin +demo_choose +demo_compiler +demo_end +demo_file_choice +demo_folder_choice +demo_function_choice +demo_gui +demo_run +demo_viewCode diff --git a/modules/demo_tools/tests/nonreg_tests/bug_8068.tst b/modules/demo_tools/tests/nonreg_tests/bug_8068.tst new file mode 100755 index 000000000..0904685b3 --- /dev/null +++ b/modules/demo_tools/tests/nonreg_tests/bug_8068.tst @@ -0,0 +1,25 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - DIGITEO - Vincent COUVERT +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> + +// <-- Non-regression test for bug 8068 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=8068 +// +// <-- Short Description --> +// When I run a demo via the demo_gui interface, some times several windows are opened (10001, 10002, etc ...). When I start a new demo, only the window 10001 is closed. The demo_gui script should look after other windows and, if they exist, it closes them. + +// Launch Scilab Demonstration GUI: Menu ?/Scilab Démonstrations + +// Launch demo CACSD/PID => Discrete Time => Time response => Impulse response => Cancel all message boxes + +// Click on Graphics category + +// Check that all figures related to CACSD/PID have been closed + diff --git a/modules/demo_tools/tests/nonreg_tests/bug_9804.tst b/modules/demo_tools/tests/nonreg_tests/bug_9804.tst new file mode 100755 index 000000000..bf21cb504 --- /dev/null +++ b/modules/demo_tools/tests/nonreg_tests/bug_9804.tst @@ -0,0 +1,31 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> + +// <-- Non-regression test for bug 9804 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=9804 +// +// <-- Short Description --> +// Starting Scilab with a external module emptied the demo list menu. + + +// build toolbox_skeleton module in SCI/contrib/toolbox_skeleton +// exec builder.sce + +// load this module +// exec loader.sce + +// Launch Scilab Demonstration GUI: Menu ?/Scilab Démonstrations + +// check that demos list menu is not empty + +// restart scilab and do not load toolbox_skeleton and check also that demos list menu is not empty + +// install a ATOMS modules and check also that demos list menu is not empty.
\ No newline at end of file diff --git a/modules/demo_tools/tests/unit_tests/demo_gui.dia.ref b/modules/demo_tools/tests/unit_tests/demo_gui.dia.ref new file mode 100755 index 000000000..a4bb9f764 --- /dev/null +++ b/modules/demo_tools/tests/unit_tests/demo_gui.dia.ref @@ -0,0 +1,12 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008-2008 - DIGITEO - Jean-Baptiste Silvy +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// used to create java exceptions +for i=1:100, + demo_gui(); + delete(gcf()); +end diff --git a/modules/demo_tools/tests/unit_tests/demo_gui.tst b/modules/demo_tools/tests/unit_tests/demo_gui.tst new file mode 100755 index 000000000..3aeae2a7d --- /dev/null +++ b/modules/demo_tools/tests/unit_tests/demo_gui.tst @@ -0,0 +1,16 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008-2008 - DIGITEO - Jean-Baptiste Silvy +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- NOT FIXED --> + +// <-- TEST WITH GRAPHIC --> + +// used to create java exceptions +for i=1:100, + demo_gui(); + delete(gcf()); +end + |