summaryrefslogtreecommitdiffstats
path: root/scilab/modules/intersci
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre.ledru@scilab-enterprises.com>2012-07-20 02:13:53 +0200
committerAntoine ELIAS <antoine.elias@scilab-enterprises.com>2012-07-23 10:49:16 +0200
commit7d063e7b729ed084a94212d7bab00f3205d12a0a (patch)
tree6fbeec74be1998da331980c0d9958b66c37fae49 /scilab/modules/intersci
parentc7ae2f028b18d17a0d47b44f6e48803334a1cd5b (diff)
downloadscilab-7d063e7b729ed084a94212d7bab00f3205d12a0a.zip
scilab-7d063e7b729ed084a94212d7bab00f3205d12a0a.tar.gz
Get ride of intersci.
It has been deprecated for a while Change-Id: I1812e6e5f6a6a320747d4cf50d2ea5306ce5852d
Diffstat (limited to 'scilab/modules/intersci')
-rw-r--r--scilab/modules/intersci/.gitignore2
-rw-r--r--scilab/modules/intersci/Makefile.am67
-rw-r--r--scilab/modules/intersci/Makefile.in1369
-rw-r--r--scilab/modules/intersci/etc/intersci.quit10
-rw-r--r--scilab/modules/intersci/etc/intersci.start9
-rw-r--r--scilab/modules/intersci/examples/Makefile149
-rw-r--r--scilab/modules/intersci/examples/Makefile.mak253
-rw-r--r--scilab/modules/intersci/examples/README.txt29
-rw-r--r--scilab/modules/intersci/examples/ex1.sce24
-rw-r--r--scilab/modules/intersci/examples/ex10.sce32
-rw-r--r--scilab/modules/intersci/examples/ex10f.f33
-rw-r--r--scilab/modules/intersci/examples/ex10fi-l.list10
-rw-r--r--scilab/modules/intersci/examples/ex10fi.desc10
-rw-r--r--scilab/modules/intersci/examples/ex11.sce27
-rw-r--r--scilab/modules/intersci/examples/ex11c.c40
-rw-r--r--scilab/modules/intersci/examples/ex11fi.desc12
-rw-r--r--scilab/modules/intersci/examples/ex12.sce27
-rw-r--r--scilab/modules/intersci/examples/ex12c.c71
-rw-r--r--scilab/modules/intersci/examples/ex12fi.desc10
-rw-r--r--scilab/modules/intersci/examples/ex13.sce26
-rw-r--r--scilab/modules/intersci/examples/ex13c.c28
-rw-r--r--scilab/modules/intersci/examples/ex13fi.desc12
-rw-r--r--scilab/modules/intersci/examples/ex14.sce100
-rw-r--r--scilab/modules/intersci/examples/ex14c.c212
-rw-r--r--scilab/modules/intersci/examples/ex14fi-l.list3
-rw-r--r--scilab/modules/intersci/examples/ex14fi.desc88
-rw-r--r--scilab/modules/intersci/examples/ex15.sce77
-rw-r--r--scilab/modules/intersci/examples/ex15c.c94
-rw-r--r--scilab/modules/intersci/examples/ex15fi-l.list3
-rw-r--r--scilab/modules/intersci/examples/ex15fi.desc98
-rw-r--r--scilab/modules/intersci/examples/ex15fi.fundef12
-rw-r--r--scilab/modules/intersci/examples/ex16.sce64
-rw-r--r--scilab/modules/intersci/examples/ex16c.c66
-rw-r--r--scilab/modules/intersci/examples/ex16fi-l.list3
-rw-r--r--scilab/modules/intersci/examples/ex16fi.desc72
-rw-r--r--scilab/modules/intersci/examples/ex1c.c24
-rw-r--r--scilab/modules/intersci/examples/ex1fi.desc13
-rw-r--r--scilab/modules/intersci/examples/ex2.sce28
-rw-r--r--scilab/modules/intersci/examples/ex2f.f18
-rw-r--r--scilab/modules/intersci/examples/ex2fi.desc14
-rw-r--r--scilab/modules/intersci/examples/ex3.sce28
-rw-r--r--scilab/modules/intersci/examples/ex3fi.desc18
-rw-r--r--scilab/modules/intersci/examples/ex4.sce28
-rw-r--r--scilab/modules/intersci/examples/ex4f.f40
-rw-r--r--scilab/modules/intersci/examples/ex4fi-l.list24
-rw-r--r--scilab/modules/intersci/examples/ex4fi.desc15
-rw-r--r--scilab/modules/intersci/examples/ex5.sce26
-rw-r--r--scilab/modules/intersci/examples/ex5f.f61
-rw-r--r--scilab/modules/intersci/examples/ex5fi.desc22
-rw-r--r--scilab/modules/intersci/examples/ex6.sce37
-rw-r--r--scilab/modules/intersci/examples/ex6c.c77
-rw-r--r--scilab/modules/intersci/examples/ex6fi.desc16
-rw-r--r--scilab/modules/intersci/examples/ex7.sce25
-rw-r--r--scilab/modules/intersci/examples/ex7f.f21
-rw-r--r--scilab/modules/intersci/examples/ex7fi.desc10
-rw-r--r--scilab/modules/intersci/examples/ex8.sce30
-rw-r--r--scilab/modules/intersci/examples/ex8c.c37
-rw-r--r--scilab/modules/intersci/examples/ex8fi.desc10
-rw-r--r--scilab/modules/intersci/examples/ex9.sce36
-rw-r--r--scilab/modules/intersci/examples/ex9c.c31
-rw-r--r--scilab/modules/intersci/examples/ex9f.f21
-rw-r--r--scilab/modules/intersci/examples/ex9fi-l.list9
-rw-r--r--scilab/modules/intersci/examples/ex9fi.desc14
-rw-r--r--scilab/modules/intersci/examples/zall.sce237
-rw-r--r--scilab/modules/intersci/examples/zallfi.dia.ref582
-rw-r--r--scilab/modules/intersci/help/en_US/addchapter.sce11
-rw-r--r--scilab/modules/intersci/help/en_US/intersci.xml57
-rw-r--r--scilab/modules/intersci/help/fr_FR/addchapter.sce11
-rwxr-xr-xscilab/modules/intersci/help/ja_JP/addchapter.sce11
-rw-r--r--scilab/modules/intersci/help/pt_BR/addchapter.sce11
-rw-r--r--scilab/modules/intersci/help/ru_RU/addchapter.sce11
-rw-r--r--scilab/modules/intersci/includes/dynlib_intersci.h28
-rw-r--r--scilab/modules/intersci/includes/libinter.h42
-rw-r--r--scilab/modules/intersci/intersci.iss45
-rw-r--r--scilab/modules/intersci/license.txt11
-rw-r--r--scilab/modules/intersci/macros/buildmacros.bat11
-rw-r--r--scilab/modules/intersci/macros/buildmacros.sce15
-rw-r--r--scilab/modules/intersci/macros/cleanmacros.bat13
-rw-r--r--scilab/modules/intersci/src/exe/check.c385
-rw-r--r--scilab/modules/intersci/src/exe/check.h41
-rw-r--r--scilab/modules/intersci/src/exe/crerhs.c559
-rw-r--r--scilab/modules/intersci/src/exe/crerhs.h36
-rw-r--r--scilab/modules/intersci/src/exe/declare.c223
-rw-r--r--scilab/modules/intersci/src/exe/declare.h25
-rw-r--r--scilab/modules/intersci/src/exe/fornames.c241
-rw-r--r--scilab/modules/intersci/src/exe/fornames.h17
-rw-r--r--scilab/modules/intersci/src/exe/getrhs.c569
-rw-r--r--scilab/modules/intersci/src/exe/getrhs.h41
-rw-r--r--scilab/modules/intersci/src/exe/intersci-n.c1093
-rw-r--r--scilab/modules/intersci/src/exe/intersci-n.h399
-rw-r--r--scilab/modules/intersci/src/exe/intersci.c3573
-rw-r--r--scilab/modules/intersci/src/exe/intersci.h221
-rw-r--r--scilab/modules/intersci/src/exe/intersciexe/intersciexe.vcxproj220
-rw-r--r--scilab/modules/intersci/src/exe/intersciexe/intersciexe.vcxproj.filters22
-rw-r--r--scilab/modules/intersci/src/exe/interscin/interscin.vcxproj327
-rw-r--r--scilab/modules/intersci/src/exe/interscin/interscin.vcxproj.filters52
-rw-r--r--scilab/modules/intersci/src/exe/opt.c250
-rw-r--r--scilab/modules/intersci/src/exe/out-e.c450
-rw-r--r--scilab/modules/intersci/src/exe/outext.c480
-rw-r--r--scilab/modules/intersci/src/exe/outext.h34
-rw-r--r--scilab/modules/intersci/src/exe/read.c755
-rw-r--r--scilab/modules/intersci/src/exe/variables.c755
-rw-r--r--scilab/modules/intersci/src/lib/cdoublef.c31
-rw-r--r--scilab/modules/intersci/src/lib/core_Import.def7
-rw-r--r--scilab/modules/intersci/src/lib/cout.c23
-rw-r--r--scilab/modules/intersci/src/lib/intersci.rc97
-rw-r--r--scilab/modules/intersci/src/lib/intersci.vcxproj226
-rw-r--r--scilab/modules/intersci/src/lib/intersci.vcxproj.filters59
-rw-r--r--scilab/modules/intersci/src/lib/libinter.c356
-rw-r--r--scilab/modules/intersci/src/lib/out.c28
-rw-r--r--scilab/modules/intersci/tests/nonreg_tests/bug7603.desc13
-rw-r--r--scilab/modules/intersci/tests/nonreg_tests/bug7603function.c23
-rw-r--r--scilab/modules/intersci/tests/nonreg_tests/bug_1957.dia.ref58
-rw-r--r--scilab/modules/intersci/tests/nonreg_tests/bug_1957.tst66
-rw-r--r--scilab/modules/intersci/tests/nonreg_tests/bug_4625.c25
-rw-r--r--scilab/modules/intersci/tests/nonreg_tests/bug_4625.desc13
-rw-r--r--scilab/modules/intersci/tests/nonreg_tests/bug_4625.dia.ref23
-rw-r--r--scilab/modules/intersci/tests/nonreg_tests/bug_4625.tst25
-rw-r--r--scilab/modules/intersci/tests/nonreg_tests/bug_7599.c25
-rw-r--r--scilab/modules/intersci/tests/nonreg_tests/bug_7599.desc13
-rw-r--r--scilab/modules/intersci/tests/nonreg_tests/bug_7599.dia.ref26
-rw-r--r--scilab/modules/intersci/tests/nonreg_tests/bug_7599.tst27
-rw-r--r--scilab/modules/intersci/tests/nonreg_tests/bug_7603.dia.ref32
-rw-r--r--scilab/modules/intersci/tests/nonreg_tests/bug_7603.tst39
124 files changed, 0 insertions, 16974 deletions
diff --git a/scilab/modules/intersci/.gitignore b/scilab/modules/intersci/.gitignore
deleted file mode 100644
index dfc28e2..0000000
--- a/scilab/modules/intersci/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
1intersci
2bin \ No newline at end of file
diff --git a/scilab/modules/intersci/Makefile.am b/scilab/modules/intersci/Makefile.am
deleted file mode 100644
index 6828334..0000000
--- a/scilab/modules/intersci/Makefile.am
+++ /dev/null
@@ -1,67 +0,0 @@
1# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2# Copyright (C) 2006 - INRIA - Sylvestre LEDRU
3#
4# This file is distributed under the same license as the Scilab package.
5
6
7INTERSCI_LIB_C_SOURCES = \
8src/lib/libinter.c \
9src/lib/out.c
10
11INTERSCI_EXE_C_SOURCES = \
12src/exe/intersci-n.c \
13src/exe/getrhs.c \
14src/exe/crerhs.c \
15src/exe/variables.c \
16src/exe/read.c \
17src/exe/fornames.c \
18src/exe/out-e.c \
19src/exe/outext.c \
20src/exe/declare.c \
21src/exe/opt.c \
22src/exe/check.c
23
24libsciintersci_la_includedir=$(pkgincludedir)
25libsciintersci_la_include_HEADERS = includes/libinter.h
26
27if MAINTAINER_MODE
28pkglib_LTLIBRARIES = libsciintersci.la
29else
30noinst_LTLIBRARIES = libsciintersci.la
31endif
32
33
34libsciintersci_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION)
35
36bin_PROGRAMS = intersci
37intersci_SOURCES = $(INTERSCI_EXE_C_SOURCES)
38
39intersci_CFLAGS = -I$(top_srcdir)/modules/string/includes
40
41libsciintersci_la_SOURCES = $(INTERSCI_LIB_C_SOURCES)
42
43libsciintersci_la_CFLAGS = -I$(top_srcdir)/libs/MALLOC/includes/ \
44 -I$(top_srcdir)/modules/output_stream/includes \
45 -I$(srcdir)/includes \
46 -I$(top_srcdir)/modules/string/includes \
47 -I$(top_srcdir)/modules/operations/includes
48
49# For the code check (splint)
50CHECK_SRC= $(libsciintersci_la_SOURCES)
51INCLUDE_FLAGS = $(libsciintersci_la_CFLAGS)
52
53#### Target ######
54modulename=intersci
55
56
57#### intersci : Conf files ####
58libsciintersci_la_rootdir = $(mydatadir)
59libsciintersci_la_root_DATA = license.txt
60
61
62#### intersci : init scripts ####
63libsciintersci_la_etcdir = $(mydatadir)/etc
64libsciintersci_la_etc_DATA = etc/intersci.quit etc/intersci.start
65
66include $(top_srcdir)/Makefile.incl.am
67
diff --git a/scilab/modules/intersci/Makefile.in b/scilab/modules/intersci/Makefile.in
deleted file mode 100644
index 49895f2..0000000
--- a/scilab/modules/intersci/Makefile.in
+++ /dev/null
@@ -1,1369 +0,0 @@
1# Makefile.in generated by automake 1.11.3 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6# Foundation, Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
19# Copyright (C) 2006 - INRIA - Sylvestre LEDRU
20#
21# This file is distributed under the same license as the Scilab package.
22
23# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
24# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
25# Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
26#
27# This file must be used under the terms of the CeCILL.
28# This source file is licensed as described in the file COPYING, which
29# you should have received as part of this distribution. The terms
30# are also available at
31# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
32#
33
34##########
35### Makefile included stuff
36### Target, variable, suffixes which are supposed to be usefull in every makefile.am
37##########
38
39
40
41
42VPATH = @srcdir@
43pkgdatadir = $(datadir)/@PACKAGE@
44pkgincludedir = $(includedir)/@PACKAGE@
45pkglibdir = $(libdir)/@PACKAGE@
46pkglibexecdir = $(libexecdir)/@PACKAGE@
47am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
48install_sh_DATA = $(install_sh) -c -m 644
49install_sh_PROGRAM = $(install_sh) -c
50install_sh_SCRIPT = $(install_sh) -c
51INSTALL_HEADER = $(INSTALL_DATA)
52transform = $(program_transform_name)
53NORMAL_INSTALL = :
54PRE_INSTALL = :
55POST_INSTALL = :
56NORMAL_UNINSTALL = :
57PRE_UNINSTALL = :
58POST_UNINSTALL = :
59build_triplet = @build@
60host_triplet = @host@
61bin_PROGRAMS = intersci$(EXEEXT)
62DIST_COMMON = $(libsciintersci_la_include_HEADERS) \
63 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
64 $(top_srcdir)/Makefile.incl.am
65@NEED_JAVA_TRUE@am__append_1 = java
66subdir = modules/intersci
67ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
68am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
69 $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/docbook.m4 \
70 $(top_srcdir)/m4/eigen.m4 $(top_srcdir)/m4/fftw.m4 \
71 $(top_srcdir)/m4/fortran.m4 $(top_srcdir)/m4/giws.m4 \
72 $(top_srcdir)/m4/hdf5.m4 $(top_srcdir)/m4/intel_compiler.m4 \
73 $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
74 $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
75 $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
76 $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
77 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
78 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
79 $(top_srcdir)/m4/ocaml.m4 $(top_srcdir)/m4/pcre.m4 \
80 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/relocatable.m4 \
81 $(top_srcdir)/m4/swig.m4 $(top_srcdir)/m4/symlinks.m4 \
82 $(top_srcdir)/m4/tcltk.m4 $(top_srcdir)/m4/umfpack.m4 \
83 $(top_srcdir)/configure.ac
84am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
85 $(ACLOCAL_M4)
86mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
87CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
88CONFIG_CLEAN_FILES =
89CONFIG_CLEAN_VPATH_FILES =
90am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
91am__vpath_adj = case $$p in \
92 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
93 *) f=$$p;; \
94 esac;
95am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
96am__install_max = 40
97am__nobase_strip_setup = \
98 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
99am__nobase_strip = \
100 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
101am__nobase_list = $(am__nobase_strip_setup); \
102 for p in $$list; do echo "$$p $$p"; done | \
103 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
104 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
105 if (++n[$$2] == $(am__install_max)) \
106 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
107 END { for (dir in files) print dir, files[dir] }'
108am__base_list = \
109 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
110 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
111am__uninstall_files_from_dir = { \
112 test -z "$$files" \
113 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
114 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
115 $(am__cd) "$$dir" && rm -f $$files; }; \
116 }
117am__installdirs = "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(bindir)" \
118 "$(DESTDIR)$(libsciintersci_la_etcdir)" \
119 "$(DESTDIR)$(libsciintersci_la_rootdir)" \
120 "$(DESTDIR)$(libsciintersci_la_includedir)"
121LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkglib_LTLIBRARIES)
122libsciintersci_la_LIBADD =
123am__objects_1 = libsciintersci_la-libinter.lo libsciintersci_la-out.lo
124am_libsciintersci_la_OBJECTS = $(am__objects_1)
125libsciintersci_la_OBJECTS = $(am_libsciintersci_la_OBJECTS)
126libsciintersci_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
127 $(LIBTOOLFLAGS) --mode=link $(CCLD) \
128 $(libsciintersci_la_CFLAGS) $(CFLAGS) \
129 $(libsciintersci_la_LDFLAGS) $(LDFLAGS) -o $@
130@MAINTAINER_MODE_FALSE@am_libsciintersci_la_rpath =
131@MAINTAINER_MODE_TRUE@am_libsciintersci_la_rpath = -rpath $(pkglibdir)
132PROGRAMS = $(bin_PROGRAMS)
133am__objects_2 = intersci-intersci-n.$(OBJEXT) \
134 intersci-getrhs.$(OBJEXT) intersci-crerhs.$(OBJEXT) \
135 intersci-variables.$(OBJEXT) intersci-read.$(OBJEXT) \
136 intersci-fornames.$(OBJEXT) intersci-out-e.$(OBJEXT) \
137 intersci-outext.$(OBJEXT) intersci-declare.$(OBJEXT) \
138 intersci-opt.$(OBJEXT) intersci-check.$(OBJEXT)
139am_intersci_OBJECTS = $(am__objects_2)
140intersci_OBJECTS = $(am_intersci_OBJECTS)
141intersci_LDADD = $(LDADD)
142intersci_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
143 --mode=link $(CCLD) $(intersci_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
144 $(LDFLAGS) -o $@
145DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
146depcomp = $(SHELL) $(top_srcdir)/config/depcomp
147am__depfiles_maybe = depfiles
148am__mv = mv -f
149COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
150 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
151LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
152 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
153 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
154CCLD = $(CC)
155LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
156 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
157 $(LDFLAGS) -o $@
158SOURCES = $(libsciintersci_la_SOURCES) $(intersci_SOURCES)
159DIST_SOURCES = $(libsciintersci_la_SOURCES) $(intersci_SOURCES)
160DATA = $(libsciintersci_la_etc_DATA) $(libsciintersci_la_root_DATA)
161HEADERS = $(libsciintersci_la_include_HEADERS)
162ETAGS = etags
163CTAGS = ctags
164DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
165ACLOCAL = @ACLOCAL@
166ALL_LINGUAS = @ALL_LINGUAS@
167ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
168AMTAR = @AMTAR@
169ANT = @ANT@
170ANTLR = @ANTLR@
171AR = @AR@
172ARPACK_LIBS = @ARPACK_LIBS@
173ASM3 = @ASM3@
174AUTOCONF = @AUTOCONF@
175AUTOHEADER = @AUTOHEADER@
176AUTOMAKE = @AUTOMAKE@
177AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
178AWK = @AWK@
179BATIK = @BATIK@
180BLAS_LIBS = @BLAS_LIBS@
181CC = @CC@
182CCACHE = @CCACHE@
183CCDEPMODE = @CCDEPMODE@
184CFLAGS = @CFLAGS@
185CHECKSTYLE = @CHECKSTYLE@
186COBERTURA = @COBERTURA@
187COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
188COMMONS_IO = @COMMONS_IO@
189COMMONS_LOGGING = @COMMONS_LOGGING@
190CPP = @CPP@
191CPPFLAGS = @CPPFLAGS@
192CXX = @CXX@
193CXXCPP = @CXXCPP@
194CXXDEPMODE = @CXXDEPMODE@
195CXXFLAGS = @CXXFLAGS@
196CYGPATH_W = @CYGPATH_W@
197DEFS = @DEFS@
198DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
199DEPDIR = @DEPDIR@
200DOCBOOK_ROOT = @DOCBOOK_ROOT@
201DSYMUTIL = @DSYMUTIL@
202DUMPBIN = @DUMPBIN@
203ECHO_C = @ECHO_C@
204ECHO_N = @ECHO_N@
205ECHO_T = @ECHO_T@
206EGREP = @EGREP@
207EIGEN_CPPFLAGS = @EIGEN_CPPFLAGS@
208EXEEXT = @EXEEXT@
209F77 = @F77@
210FFLAGS = @FFLAGS@
211FFTW3_LIB = @FFTW3_LIB@
212FFTW_ENABLE = @FFTW_ENABLE@
213FGREP = @FGREP@
214FLEXDOCK = @FLEXDOCK@
215FLIBS = @FLIBS@
216FOP = @FOP@
217GENHTML = @GENHTML@
218GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
219GIWS_BIN = @GIWS_BIN@
220GLUEGEN2_RT = @GLUEGEN2_RT@
221GMSGFMT = @GMSGFMT@
222GMSGFMT_015 = @GMSGFMT_015@
223GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
224GREP = @GREP@
225GUI_ENABLE = @GUI_ENABLE@
226HDF5_CFLAGS = @HDF5_CFLAGS@
227HDF5_LIBS = @HDF5_LIBS@
228HELP_ENABLE = @HELP_ENABLE@
229INSTALL = @INSTALL@
230INSTALL_DATA = @INSTALL_DATA@
231INSTALL_PROGRAM = @INSTALL_PROGRAM@
232INSTALL_SCRIPT = @INSTALL_SCRIPT@
233INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
234INTLLIBS = @INTLLIBS@
235INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
236JAR = @JAR@
237JAVA = @JAVA@
238JAVAC = @JAVAC@
239JAVAC_DEBUG = @JAVAC_DEBUG@
240JAVADOC = @JAVADOC@
241JAVAH = @JAVAH@
242JAVASCI_ENABLE = @JAVASCI_ENABLE@
243JAVA_ENABLE = @JAVA_ENABLE@
244JAVA_G = @JAVA_G@
245JAVA_HOME = @JAVA_HOME@
246JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
247JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
248JDB = @JDB@
249JEUCLID_CORE = @JEUCLID_CORE@
250JGRAPHX = @JGRAPHX@
251JHALL = @JHALL@
252JHDF5 = @JHDF5@
253JLATEXMATH = @JLATEXMATH@
254JLATEXMATH_FOP = @JLATEXMATH_FOP@
255JOGL2 = @JOGL2@
256JROSETTA_API = @JROSETTA_API@
257JROSETTA_ENGINE = @JROSETTA_ENGINE@
258JUNIT4 = @JUNIT4@
259LAPACK_LIBS = @LAPACK_LIBS@
260LCOV = @LCOV@
261LD = @LD@
262LDFLAGS = @LDFLAGS@
263LEX = @LEX@
264LEXLIB = @LEXLIB@
265LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
266LIBICONV = @LIBICONV@
267LIBINTL = @LIBINTL@
268LIBM = @LIBM@
269LIBOBJS = @LIBOBJS@
270LIBS = @LIBS@
271LIBTOOL = @LIBTOOL@
272LIPO = @LIPO@
273LN_S = @LN_S@
274LOGGING_LEVEL = @LOGGING_LEVEL@
275LOOKS = @LOOKS@
276LTLIBICONV = @LTLIBICONV@
277LTLIBINTL = @LTLIBINTL@
278LTLIBOBJS = @LTLIBOBJS@
279MAINT = @MAINT@
280MAKEINFO = @MAKEINFO@
281MATIO_CFLAGS = @MATIO_CFLAGS@
282MATIO_ENABLE = @MATIO_ENABLE@
283MATIO_LIBS = @MATIO_LIBS@
284MKDIR_P = @MKDIR_P@
285MSGCAT = @MSGCAT@
286MSGFMT = @MSGFMT@
287MSGFMT_015 = @MSGFMT_015@
288MSGMERGE = @MSGMERGE@
289NM = @NM@
290NMEDIT = @NMEDIT@
291OBJDUMP = @OBJDUMP@
292OBJEXT = @OBJEXT@
293OCAMLC = @OCAMLC@
294OCAMLDEP = @OCAMLDEP@
295OCAMLLEX = @OCAMLLEX@
296OCAMLOPT = @OCAMLOPT@
297OCAMLYACC = @OCAMLYACC@
298OPENMP_CFLAGS = @OPENMP_CFLAGS@
299OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
300OPENMP_ENABLE = @OPENMP_ENABLE@
301OPENMP_LIBS = @OPENMP_LIBS@
302OTOOL = @OTOOL@
303OTOOL64 = @OTOOL64@
304PACKAGE = @PACKAGE@
305PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
306PACKAGE_NAME = @PACKAGE_NAME@
307PACKAGE_STRING = @PACKAGE_STRING@
308PACKAGE_TARNAME = @PACKAGE_TARNAME@
309PACKAGE_URL = @PACKAGE_URL@
310PACKAGE_VERSION = @PACKAGE_VERSION@
311PATH_SEPARATOR = @PATH_SEPARATOR@
312PCRE_CFLAGS = @PCRE_CFLAGS@
313PCRE_CONFIG = @PCRE_CONFIG@
314PCRE_LIBS = @PCRE_LIBS@
315PCRE_VERSION = @PCRE_VERSION@
316PKG_CONFIG = @PKG_CONFIG@
317POSUB = @POSUB@
318POW_LIB = @POW_LIB@
319PYTHON = @PYTHON@
320RANLIB = @RANLIB@
321RELOCATABLE = @RELOCATABLE@
322RT_LIB = @RT_LIB@
323SAXON = @SAXON@
324SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
325SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
326SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
327SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
328SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
329SCIRENDERER = @SCIRENDERER@
330SCI_CFLAGS = @SCI_CFLAGS@
331SCI_CXXFLAGS = @SCI_CXXFLAGS@
332SCI_FFLAGS = @SCI_FFLAGS@
333SCI_LDFLAGS = @SCI_LDFLAGS@
334SED = @SED@
335SET_MAKE = @SET_MAKE@
336SET_RELOCATABLE = @SET_RELOCATABLE@
337SHELL = @SHELL@
338SKINLF = @SKINLF@
339SPLINT = @SPLINT@
340STRIP = @STRIP@
341SWIG_BIN = @SWIG_BIN@
342SWIG_JAVA = @SWIG_JAVA@
343SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
344TCLTK_LIBS = @TCLTK_LIBS@
345TCL_INC_PATH = @TCL_INC_PATH@
346TK_INC_PATH = @TK_INC_PATH@
347UMFPACK_ENABLE = @UMFPACK_ENABLE@
348UMFPACK_LIB = @UMFPACK_LIB@
349USE_NLS = @USE_NLS@
350VERSION = @VERSION@
351WITH_OCAML = @WITH_OCAML@
352WITH_TKSCI = @WITH_TKSCI@
353XCOS_ENABLE = @XCOS_ENABLE@
354XGETTEXT = @XGETTEXT@
355XGETTEXT_015 = @XGETTEXT_015@
356XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
357XMKMF = @XMKMF@
358XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
359XML_APIS_EXT = @XML_APIS_EXT@
360XML_CONFIG = @XML_CONFIG@
361XML_FLAGS = @XML_FLAGS@
362XML_LIBS = @XML_LIBS@
363XML_VERSION = @XML_VERSION@
364X_CFLAGS = @X_CFLAGS@
365X_EXTRA_LIBS = @X_EXTRA_LIBS@
366X_LIBS = @X_LIBS@
367X_PRE_LIBS = @X_PRE_LIBS@
368YACC = @YACC@
369YFLAGS = @YFLAGS@
370abs_builddir = @abs_builddir@
371abs_srcdir = @abs_srcdir@
372abs_top_builddir = @abs_top_builddir@
373abs_top_srcdir = @abs_top_srcdir@
374ac_ct_CC = @ac_ct_CC@
375ac_ct_CXX = @ac_ct_CXX@
376ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
377ac_ct_F77 = @ac_ct_F77@
378am__include = @am__include@
379am__leading_dot = @am__leading_dot@
380am__quote = @am__quote@
381am__tar = @am__tar@
382am__untar = @am__untar@
383bindir = @bindir@
384build = @build@
385build_alias = @build_alias@
386build_cpu = @build_cpu@
387build_os = @build_os@
388build_vendor = @build_vendor@
389builddir = @builddir@
390cxx_present = @cxx_present@
391datadir = @datadir@
392datarootdir = @datarootdir@
393docdir = @docdir@
394dvidir = @dvidir@
395exec_prefix = @exec_prefix@
396host = @host@
397host_alias = @host_alias@
398host_cpu = @host_cpu@
399host_os = @host_os@
400host_vendor = @host_vendor@
401htmldir = @htmldir@
402includedir = @includedir@
403infodir = @infodir@
404install_sh = @install_sh@
405libdir = @libdir@
406libexecdir = @libexecdir@
407localedir = @localedir@
408localstatedir = @localstatedir@
409mandir = @mandir@
410mkdir_p = @mkdir_p@
411oldincludedir = @oldincludedir@
412pdfdir = @pdfdir@
413prefix = @prefix@
414program_transform_name = @program_transform_name@
415psdir = @psdir@
416sbindir = @sbindir@
417sharedstatedir = @sharedstatedir@
418srcdir = @srcdir@
419sysconfdir = @sysconfdir@
420target_alias = @target_alias@
421top_build_prefix = @top_build_prefix@
422top_builddir = @top_builddir@
423top_srcdir = @top_srcdir@
424yacc_present = @yacc_present@
425INTERSCI_LIB_C_SOURCES = \
426src/lib/libinter.c \
427src/lib/out.c
428
429INTERSCI_EXE_C_SOURCES = \
430src/exe/intersci-n.c \
431src/exe/getrhs.c \
432src/exe/crerhs.c \
433src/exe/variables.c \
434src/exe/read.c \
435src/exe/fornames.c \
436src/exe/out-e.c \
437src/exe/outext.c \
438src/exe/declare.c \
439src/exe/opt.c \
440src/exe/check.c
441
442libsciintersci_la_includedir = $(pkgincludedir)
443libsciintersci_la_include_HEADERS = includes/libinter.h
444@MAINTAINER_MODE_TRUE@pkglib_LTLIBRARIES = libsciintersci.la
445@MAINTAINER_MODE_FALSE@noinst_LTLIBRARIES = libsciintersci.la
446libsciintersci_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION)
447intersci_SOURCES = $(INTERSCI_EXE_C_SOURCES)
448intersci_CFLAGS = -I$(top_srcdir)/modules/string/includes
449libsciintersci_la_SOURCES = $(INTERSCI_LIB_C_SOURCES)
450libsciintersci_la_CFLAGS = -I$(top_srcdir)/libs/MALLOC/includes/ \
451 -I$(top_srcdir)/modules/output_stream/includes \
452 -I$(srcdir)/includes \
453 -I$(top_srcdir)/modules/string/includes \
454 -I$(top_srcdir)/modules/operations/includes
455
456
457# For the code check (splint)
458CHECK_SRC = $(libsciintersci_la_SOURCES)
459INCLUDE_FLAGS = $(libsciintersci_la_CFLAGS)
460
461#### Target ######
462modulename = intersci
463
464#### intersci : Conf files ####
465libsciintersci_la_rootdir = $(mydatadir)
466libsciintersci_la_root_DATA = license.txt
467
468#### intersci : init scripts ####
469libsciintersci_la_etcdir = $(mydatadir)/etc
470libsciintersci_la_etc_DATA = etc/intersci.quit etc/intersci.start
471
472# Where all the Scilab stuff is installed (macros, help, ...)
473mydatadir = $(pkgdatadir)/modules/$(modulename)
474
475# Set AM_* SCI detected settings
476AM_CPPFLAGS = $(SCI_CPPFLAGS)
477AM_CFLAGS = $(SCI_CFLAGS)
478AM_CXXFLAGS = $(SCI_CXXFLAGS)
479# append includes to AM_FFLAGS to manage fortran includes
480AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
481
482# Tag shared libraries with the Scilab version
483AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
484
485# splint options
486SPLINT_OPTIONS = -weak -booltype BOOL
487
488########################### JAVA ######################################
489#### We are delegating java compilation to ant... Thanks to that
490#### the procedure will be the same with Microsoft Windows (C)
491#### and Linux/Unix
492#######################################################################
493TARGETS_ALL = $(am__append_1)
494
495################ MACROS ######################
496# Rule to build a macro
497# NOT USED AT THE MOMENT
498SUFFIXES = .sci
499
500########### INSTALL DOCUMENTATION ###################
501
502# Install documentation files into the right target
503# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
504# automake needs the html files to be present which is not the case when
505# we are building Scilab
506
507# Where it should be installed
508pkgdocdir = $(mydatadir)
509
510# What is the mask of the help source
511DOCMASKXML = *.xml
512
513# What is the mask of the MathML sources
514DOCMASKMML = *.mml
515
516########### INSTALL DATA ###################
517# Install macros, help & demos
518# Where it should be installed
519pkgmacrosdir = $(mydatadir)
520# Which directory we process
521MACRODIRS = macros/
522# Mask of the Scilab sources macros
523MACROMASK = *.sci
524# Mask of the Scilab executable sources macros
525MACROBUILDMASK = *.sce
526# Mask of the Scilab compiled macros
527MACROBINMASK = *.bin
528# List of the standard directory for tests
529TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
530# Where the demos should be installed
531pkgdemosdir = $(mydatadir)
532# List of the standard directory for demos
533DEMOS_DIR = demos
534# List of the standard directory for examples
535EXAMPLES_DIR = examples
536# Where to export JAVA archives (.jar)
537JARDIR = jar/
538# JAR files mask
539JARMASK = *.jar
540# Chapter file
541HELP_CHAPTERDIR = help/
542HELP_CHAPTERFILE = addchapter.sce
543HELP_CHAPTERLANG = en_US fr_FR pt_BR
544all: all-am
545
546.SUFFIXES:
547.SUFFIXES: .sci .bin .c .lo .o .obj
548$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
549 @for dep in $?; do \
550 case '$(am__configure_deps)' in \
551 *$$dep*) \
552 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
553 && { if test -f $@; then exit 0; else break; fi; }; \
554 exit 1;; \
555 esac; \
556 done; \
557 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/intersci/Makefile'; \
558 $(am__cd) $(top_srcdir) && \
559 $(AUTOMAKE) --foreign modules/intersci/Makefile
560.PRECIOUS: Makefile
561Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
562 @case '$?' in \
563 *config.status*) \
564 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
565 *) \
566 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
567 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
568 esac;
569$(top_srcdir)/Makefile.incl.am:
570
571$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
572 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
573
574$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
575 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
576$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
577 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
578$(am__aclocal_m4_deps):
579
580clean-noinstLTLIBRARIES:
581 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
582 @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
583 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
584 test "$$dir" != "$$p" || dir=.; \
585 echo "rm -f \"$${dir}/so_locations\""; \
586 rm -f "$${dir}/so_locations"; \
587 done
588install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
589 @$(NORMAL_INSTALL)
590 test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
591 @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
592 list2=; for p in $$list; do \
593 if test -f $$p; then \
594 list2="$$list2 $$p"; \
595 else :; fi; \
596 done; \
597 test -z "$$list2" || { \
598 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
599 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
600 }
601
602uninstall-pkglibLTLIBRARIES:
603 @$(NORMAL_UNINSTALL)
604 @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
605 for p in $$list; do \
606 $(am__strip_dir) \
607 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
608 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
609 done
610
611clean-pkglibLTLIBRARIES:
612 -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
613 @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
614 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
615 test "$$dir" != "$$p" || dir=.; \
616 echo "rm -f \"$${dir}/so_locations\""; \
617 rm -f "$${dir}/so_locations"; \
618 done
619libsciintersci.la: $(libsciintersci_la_OBJECTS) $(libsciintersci_la_DEPENDENCIES) $(EXTRA_libsciintersci_la_DEPENDENCIES)
620 $(libsciintersci_la_LINK) $(am_libsciintersci_la_rpath) $(libsciintersci_la_OBJECTS) $(libsciintersci_la_LIBADD) $(LIBS)
621install-binPROGRAMS: $(bin_PROGRAMS)
622 @$(NORMAL_INSTALL)
623 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
624 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
625 for p in $$list; do echo "$$p $$p"; done | \
626 sed 's/$(EXEEXT)$$//' | \
627 while read p p1; do if test -f $$p || test -f $$p1; \
628 then echo "$$p"; echo "$$p"; else :; fi; \
629 done | \
630 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
631 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
632 sed 'N;N;N;s,\n, ,g' | \
633 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
634 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
635 if ($$2 == $$4) files[d] = files[d] " " $$1; \
636 else { print "f", $$3 "/" $$4, $$1; } } \
637 END { for (d in files) print "f", d, files[d] }' | \
638 while read type dir files; do \
639 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
640 test -z "$$files" || { \
641 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
642 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
643 } \
644 ; done
645
646uninstall-binPROGRAMS:
647 @$(NORMAL_UNINSTALL)
648 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
649 files=`for p in $$list; do echo "$$p"; done | \
650 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
651 -e 's/$$/$(EXEEXT)/' `; \
652 test -n "$$list" || exit 0; \
653 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
654 cd "$(DESTDIR)$(bindir)" && rm -f $$files
655
656clean-binPROGRAMS:
657 @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
658 echo " rm -f" $$list; \
659 rm -f $$list || exit $$?; \
660 test -n "$(EXEEXT)" || exit 0; \
661 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
662 echo " rm -f" $$list; \
663 rm -f $$list
664intersci$(EXEEXT): $(intersci_OBJECTS) $(intersci_DEPENDENCIES) $(EXTRA_intersci_DEPENDENCIES)
665 @rm -f intersci$(EXEEXT)
666 $(intersci_LINK) $(intersci_OBJECTS) $(intersci_LDADD) $(LIBS)
667
668mostlyclean-compile:
669 -rm -f *.$(OBJEXT)
670
671distclean-compile:
672 -rm -f *.tab.c
673
674@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/intersci-check.Po@am__quote@
675@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/intersci-crerhs.Po@am__quote@
676@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/intersci-declare.Po@am__quote@
677@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/intersci-fornames.Po@am__quote@
678@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/intersci-getrhs.Po@am__quote@
679@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/intersci-intersci-n.Po@am__quote@
680@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/intersci-opt.Po@am__quote@
681@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/intersci-out-e.Po@am__quote@
682@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/intersci-outext.Po@am__quote@
683@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/intersci-read.Po@am__quote@
684@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/intersci-variables.Po@am__quote@
685@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciintersci_la-libinter.Plo@am__quote@
686@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsciintersci_la-out.Plo@am__quote@
687
688.c.o:
689@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
690@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
691@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
692@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
693@am__fastdepCC_FALSE@ $(COMPILE) -c $<
694
695.c.obj:
696@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
697@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
698@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
699@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
700@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
701
702.c.lo:
703@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
704@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
705@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
706@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
707@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
708
709libsciintersci_la-libinter.lo: src/lib/libinter.c
710@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsciintersci_la_CFLAGS) $(CFLAGS) -MT libsciintersci_la-libinter.lo -MD -MP -MF $(DEPDIR)/libsciintersci_la-libinter.Tpo -c -o libsciintersci_la-libinter.lo `test -f 'src/lib/libinter.c' || echo '$(srcdir)/'`src/lib/libinter.c
711@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libsciintersci_la-libinter.Tpo $(DEPDIR)/libsciintersci_la-libinter.Plo
712@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/lib/libinter.c' object='libsciintersci_la-libinter.lo' libtool=yes @AMDEPBACKSLASH@
713@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
714@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsciintersci_la_CFLAGS) $(CFLAGS) -c -o libsciintersci_la-libinter.lo `test -f 'src/lib/libinter.c' || echo '$(srcdir)/'`src/lib/libinter.c
715
716libsciintersci_la-out.lo: src/lib/out.c
717@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsciintersci_la_CFLAGS) $(CFLAGS) -MT libsciintersci_la-out.lo -MD -MP -MF $(DEPDIR)/libsciintersci_la-out.Tpo -c -o libsciintersci_la-out.lo `test -f 'src/lib/out.c' || echo '$(srcdir)/'`src/lib/out.c
718@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libsciintersci_la-out.Tpo $(DEPDIR)/libsciintersci_la-out.Plo
719@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/lib/out.c' object='libsciintersci_la-out.lo' libtool=yes @AMDEPBACKSLASH@
720@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
721@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsciintersci_la_CFLAGS) $(CFLAGS) -c -o libsciintersci_la-out.lo `test -f 'src/lib/out.c' || echo '$(srcdir)/'`src/lib/out.c
722
723intersci-intersci-n.o: src/exe/intersci-n.c
724@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-intersci-n.o -MD -MP -MF $(DEPDIR)/intersci-intersci-n.Tpo -c -o intersci-intersci-n.o `test -f 'src/exe/intersci-n.c' || echo '$(srcdir)/'`src/exe/intersci-n.c
725@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-intersci-n.Tpo $(DEPDIR)/intersci-intersci-n.Po
726@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/intersci-n.c' object='intersci-intersci-n.o' libtool=no @AMDEPBACKSLASH@
727@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
728@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-intersci-n.o `test -f 'src/exe/intersci-n.c' || echo '$(srcdir)/'`src/exe/intersci-n.c
729
730intersci-intersci-n.obj: src/exe/intersci-n.c
731@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-intersci-n.obj -MD -MP -MF $(DEPDIR)/intersci-intersci-n.Tpo -c -o intersci-intersci-n.obj `if test -f 'src/exe/intersci-n.c'; then $(CYGPATH_W) 'src/exe/intersci-n.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/intersci-n.c'; fi`
732@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-intersci-n.Tpo $(DEPDIR)/intersci-intersci-n.Po
733@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/intersci-n.c' object='intersci-intersci-n.obj' libtool=no @AMDEPBACKSLASH@
734@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
735@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-intersci-n.obj `if test -f 'src/exe/intersci-n.c'; then $(CYGPATH_W) 'src/exe/intersci-n.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/intersci-n.c'; fi`
736
737intersci-getrhs.o: src/exe/getrhs.c
738@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-getrhs.o -MD -MP -MF $(DEPDIR)/intersci-getrhs.Tpo -c -o intersci-getrhs.o `test -f 'src/exe/getrhs.c' || echo '$(srcdir)/'`src/exe/getrhs.c
739@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-getrhs.Tpo $(DEPDIR)/intersci-getrhs.Po
740@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/getrhs.c' object='intersci-getrhs.o' libtool=no @AMDEPBACKSLASH@
741@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
742@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-getrhs.o `test -f 'src/exe/getrhs.c' || echo '$(srcdir)/'`src/exe/getrhs.c
743
744intersci-getrhs.obj: src/exe/getrhs.c
745@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-getrhs.obj -MD -MP -MF $(DEPDIR)/intersci-getrhs.Tpo -c -o intersci-getrhs.obj `if test -f 'src/exe/getrhs.c'; then $(CYGPATH_W) 'src/exe/getrhs.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/getrhs.c'; fi`
746@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-getrhs.Tpo $(DEPDIR)/intersci-getrhs.Po
747@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/getrhs.c' object='intersci-getrhs.obj' libtool=no @AMDEPBACKSLASH@
748@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
749@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-getrhs.obj `if test -f 'src/exe/getrhs.c'; then $(CYGPATH_W) 'src/exe/getrhs.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/getrhs.c'; fi`
750
751intersci-crerhs.o: src/exe/crerhs.c
752@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-crerhs.o -MD -MP -MF $(DEPDIR)/intersci-crerhs.Tpo -c -o intersci-crerhs.o `test -f 'src/exe/crerhs.c' || echo '$(srcdir)/'`src/exe/crerhs.c
753@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-crerhs.Tpo $(DEPDIR)/intersci-crerhs.Po
754@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/crerhs.c' object='intersci-crerhs.o' libtool=no @AMDEPBACKSLASH@
755@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
756@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-crerhs.o `test -f 'src/exe/crerhs.c' || echo '$(srcdir)/'`src/exe/crerhs.c
757
758intersci-crerhs.obj: src/exe/crerhs.c
759@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-crerhs.obj -MD -MP -MF $(DEPDIR)/intersci-crerhs.Tpo -c -o intersci-crerhs.obj `if test -f 'src/exe/crerhs.c'; then $(CYGPATH_W) 'src/exe/crerhs.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/crerhs.c'; fi`
760@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-crerhs.Tpo $(DEPDIR)/intersci-crerhs.Po
761@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/crerhs.c' object='intersci-crerhs.obj' libtool=no @AMDEPBACKSLASH@
762@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
763@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-crerhs.obj `if test -f 'src/exe/crerhs.c'; then $(CYGPATH_W) 'src/exe/crerhs.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/crerhs.c'; fi`
764
765intersci-variables.o: src/exe/variables.c
766@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-variables.o -MD -MP -MF $(DEPDIR)/intersci-variables.Tpo -c -o intersci-variables.o `test -f 'src/exe/variables.c' || echo '$(srcdir)/'`src/exe/variables.c
767@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-variables.Tpo $(DEPDIR)/intersci-variables.Po
768@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/variables.c' object='intersci-variables.o' libtool=no @AMDEPBACKSLASH@
769@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
770@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-variables.o `test -f 'src/exe/variables.c' || echo '$(srcdir)/'`src/exe/variables.c
771
772intersci-variables.obj: src/exe/variables.c
773@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-variables.obj -MD -MP -MF $(DEPDIR)/intersci-variables.Tpo -c -o intersci-variables.obj `if test -f 'src/exe/variables.c'; then $(CYGPATH_W) 'src/exe/variables.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/variables.c'; fi`
774@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-variables.Tpo $(DEPDIR)/intersci-variables.Po
775@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/variables.c' object='intersci-variables.obj' libtool=no @AMDEPBACKSLASH@
776@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
777@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-variables.obj `if test -f 'src/exe/variables.c'; then $(CYGPATH_W) 'src/exe/variables.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/variables.c'; fi`
778
779intersci-read.o: src/exe/read.c
780@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-read.o -MD -MP -MF $(DEPDIR)/intersci-read.Tpo -c -o intersci-read.o `test -f 'src/exe/read.c' || echo '$(srcdir)/'`src/exe/read.c
781@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-read.Tpo $(DEPDIR)/intersci-read.Po
782@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/read.c' object='intersci-read.o' libtool=no @AMDEPBACKSLASH@
783@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
784@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-read.o `test -f 'src/exe/read.c' || echo '$(srcdir)/'`src/exe/read.c
785
786intersci-read.obj: src/exe/read.c
787@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-read.obj -MD -MP -MF $(DEPDIR)/intersci-read.Tpo -c -o intersci-read.obj `if test -f 'src/exe/read.c'; then $(CYGPATH_W) 'src/exe/read.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/read.c'; fi`
788@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-read.Tpo $(DEPDIR)/intersci-read.Po
789@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/read.c' object='intersci-read.obj' libtool=no @AMDEPBACKSLASH@
790@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
791@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-read.obj `if test -f 'src/exe/read.c'; then $(CYGPATH_W) 'src/exe/read.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/read.c'; fi`
792
793intersci-fornames.o: src/exe/fornames.c
794@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-fornames.o -MD -MP -MF $(DEPDIR)/intersci-fornames.Tpo -c -o intersci-fornames.o `test -f 'src/exe/fornames.c' || echo '$(srcdir)/'`src/exe/fornames.c
795@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-fornames.Tpo $(DEPDIR)/intersci-fornames.Po
796@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/fornames.c' object='intersci-fornames.o' libtool=no @AMDEPBACKSLASH@
797@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
798@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-fornames.o `test -f 'src/exe/fornames.c' || echo '$(srcdir)/'`src/exe/fornames.c
799
800intersci-fornames.obj: src/exe/fornames.c
801@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-fornames.obj -MD -MP -MF $(DEPDIR)/intersci-fornames.Tpo -c -o intersci-fornames.obj `if test -f 'src/exe/fornames.c'; then $(CYGPATH_W) 'src/exe/fornames.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/fornames.c'; fi`
802@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-fornames.Tpo $(DEPDIR)/intersci-fornames.Po
803@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/fornames.c' object='intersci-fornames.obj' libtool=no @AMDEPBACKSLASH@
804@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
805@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-fornames.obj `if test -f 'src/exe/fornames.c'; then $(CYGPATH_W) 'src/exe/fornames.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/fornames.c'; fi`
806
807intersci-out-e.o: src/exe/out-e.c
808@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-out-e.o -MD -MP -MF $(DEPDIR)/intersci-out-e.Tpo -c -o intersci-out-e.o `test -f 'src/exe/out-e.c' || echo '$(srcdir)/'`src/exe/out-e.c
809@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-out-e.Tpo $(DEPDIR)/intersci-out-e.Po
810@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/out-e.c' object='intersci-out-e.o' libtool=no @AMDEPBACKSLASH@
811@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
812@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-out-e.o `test -f 'src/exe/out-e.c' || echo '$(srcdir)/'`src/exe/out-e.c
813
814intersci-out-e.obj: src/exe/out-e.c
815@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-out-e.obj -MD -MP -MF $(DEPDIR)/intersci-out-e.Tpo -c -o intersci-out-e.obj `if test -f 'src/exe/out-e.c'; then $(CYGPATH_W) 'src/exe/out-e.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/out-e.c'; fi`
816@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-out-e.Tpo $(DEPDIR)/intersci-out-e.Po
817@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/out-e.c' object='intersci-out-e.obj' libtool=no @AMDEPBACKSLASH@
818@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
819@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-out-e.obj `if test -f 'src/exe/out-e.c'; then $(CYGPATH_W) 'src/exe/out-e.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/out-e.c'; fi`
820
821intersci-outext.o: src/exe/outext.c
822@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-outext.o -MD -MP -MF $(DEPDIR)/intersci-outext.Tpo -c -o intersci-outext.o `test -f 'src/exe/outext.c' || echo '$(srcdir)/'`src/exe/outext.c
823@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-outext.Tpo $(DEPDIR)/intersci-outext.Po
824@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/outext.c' object='intersci-outext.o' libtool=no @AMDEPBACKSLASH@
825@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
826@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-outext.o `test -f 'src/exe/outext.c' || echo '$(srcdir)/'`src/exe/outext.c
827
828intersci-outext.obj: src/exe/outext.c
829@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-outext.obj -MD -MP -MF $(DEPDIR)/intersci-outext.Tpo -c -o intersci-outext.obj `if test -f 'src/exe/outext.c'; then $(CYGPATH_W) 'src/exe/outext.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/outext.c'; fi`
830@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-outext.Tpo $(DEPDIR)/intersci-outext.Po
831@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/outext.c' object='intersci-outext.obj' libtool=no @AMDEPBACKSLASH@
832@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
833@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-outext.obj `if test -f 'src/exe/outext.c'; then $(CYGPATH_W) 'src/exe/outext.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/outext.c'; fi`
834
835intersci-declare.o: src/exe/declare.c
836@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-declare.o -MD -MP -MF $(DEPDIR)/intersci-declare.Tpo -c -o intersci-declare.o `test -f 'src/exe/declare.c' || echo '$(srcdir)/'`src/exe/declare.c
837@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-declare.Tpo $(DEPDIR)/intersci-declare.Po
838@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/declare.c' object='intersci-declare.o' libtool=no @AMDEPBACKSLASH@
839@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
840@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-declare.o `test -f 'src/exe/declare.c' || echo '$(srcdir)/'`src/exe/declare.c
841
842intersci-declare.obj: src/exe/declare.c
843@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-declare.obj -MD -MP -MF $(DEPDIR)/intersci-declare.Tpo -c -o intersci-declare.obj `if test -f 'src/exe/declare.c'; then $(CYGPATH_W) 'src/exe/declare.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/declare.c'; fi`
844@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-declare.Tpo $(DEPDIR)/intersci-declare.Po
845@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/declare.c' object='intersci-declare.obj' libtool=no @AMDEPBACKSLASH@
846@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
847@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-declare.obj `if test -f 'src/exe/declare.c'; then $(CYGPATH_W) 'src/exe/declare.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/declare.c'; fi`
848
849intersci-opt.o: src/exe/opt.c
850@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-opt.o -MD -MP -MF $(DEPDIR)/intersci-opt.Tpo -c -o intersci-opt.o `test -f 'src/exe/opt.c' || echo '$(srcdir)/'`src/exe/opt.c
851@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-opt.Tpo $(DEPDIR)/intersci-opt.Po
852@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/opt.c' object='intersci-opt.o' libtool=no @AMDEPBACKSLASH@
853@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
854@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-opt.o `test -f 'src/exe/opt.c' || echo '$(srcdir)/'`src/exe/opt.c
855
856intersci-opt.obj: src/exe/opt.c
857@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-opt.obj -MD -MP -MF $(DEPDIR)/intersci-opt.Tpo -c -o intersci-opt.obj `if test -f 'src/exe/opt.c'; then $(CYGPATH_W) 'src/exe/opt.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/opt.c'; fi`
858@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-opt.Tpo $(DEPDIR)/intersci-opt.Po
859@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/opt.c' object='intersci-opt.obj' libtool=no @AMDEPBACKSLASH@
860@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
861@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-opt.obj `if test -f 'src/exe/opt.c'; then $(CYGPATH_W) 'src/exe/opt.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/opt.c'; fi`
862
863intersci-check.o: src/exe/check.c
864@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-check.o -MD -MP -MF $(DEPDIR)/intersci-check.Tpo -c -o intersci-check.o `test -f 'src/exe/check.c' || echo '$(srcdir)/'`src/exe/check.c
865@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-check.Tpo $(DEPDIR)/intersci-check.Po
866@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/check.c' object='intersci-check.o' libtool=no @AMDEPBACKSLASH@
867@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
868@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-check.o `test -f 'src/exe/check.c' || echo '$(srcdir)/'`src/exe/check.c
869
870intersci-check.obj: src/exe/check.c
871@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -MT intersci-check.obj -MD -MP -MF $(DEPDIR)/intersci-check.Tpo -c -o intersci-check.obj `if test -f 'src/exe/check.c'; then $(CYGPATH_W) 'src/exe/check.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/check.c'; fi`
872@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/intersci-check.Tpo $(DEPDIR)/intersci-check.Po
873@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/exe/check.c' object='intersci-check.obj' libtool=no @AMDEPBACKSLASH@
874@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
875@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(intersci_CFLAGS) $(CFLAGS) -c -o intersci-check.obj `if test -f 'src/exe/check.c'; then $(CYGPATH_W) 'src/exe/check.c'; else $(CYGPATH_W) '$(srcdir)/src/exe/check.c'; fi`
876
877mostlyclean-libtool:
878 -rm -f *.lo
879
880clean-libtool:
881 -rm -rf .libs _libs
882install-libsciintersci_la_etcDATA: $(libsciintersci_la_etc_DATA)
883 @$(NORMAL_INSTALL)
884 test -z "$(libsciintersci_la_etcdir)" || $(MKDIR_P) "$(DESTDIR)$(libsciintersci_la_etcdir)"
885 @list='$(libsciintersci_la_etc_DATA)'; test -n "$(libsciintersci_la_etcdir)" || list=; \
886 for p in $$list; do \
887 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
888 echo "$$d$$p"; \
889 done | $(am__base_list) | \
890 while read files; do \
891 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libsciintersci_la_etcdir)'"; \
892 $(INSTALL_DATA) $$files "$(DESTDIR)$(libsciintersci_la_etcdir)" || exit $$?; \
893 done
894
895uninstall-libsciintersci_la_etcDATA:
896 @$(NORMAL_UNINSTALL)
897 @list='$(libsciintersci_la_etc_DATA)'; test -n "$(libsciintersci_la_etcdir)" || list=; \
898 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
899 dir='$(DESTDIR)$(libsciintersci_la_etcdir)'; $(am__uninstall_files_from_dir)
900install-libsciintersci_la_rootDATA: $(libsciintersci_la_root_DATA)
901 @$(NORMAL_INSTALL)
902 test -z "$(libsciintersci_la_rootdir)" || $(MKDIR_P) "$(DESTDIR)$(libsciintersci_la_rootdir)"
903 @list='$(libsciintersci_la_root_DATA)'; test -n "$(libsciintersci_la_rootdir)" || list=; \
904 for p in $$list; do \
905 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
906 echo "$$d$$p"; \
907 done | $(am__base_list) | \
908 while read files; do \
909 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libsciintersci_la_rootdir)'"; \
910 $(INSTALL_DATA) $$files "$(DESTDIR)$(libsciintersci_la_rootdir)" || exit $$?; \
911 done
912
913uninstall-libsciintersci_la_rootDATA:
914 @$(NORMAL_UNINSTALL)
915 @list='$(libsciintersci_la_root_DATA)'; test -n "$(libsciintersci_la_rootdir)" || list=; \
916 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
917 dir='$(DESTDIR)$(libsciintersci_la_rootdir)'; $(am__uninstall_files_from_dir)
918install-libsciintersci_la_includeHEADERS: $(libsciintersci_la_include_HEADERS)
919 @$(NORMAL_INSTALL)
920 test -z "$(libsciintersci_la_includedir)" || $(MKDIR_P) "$(DESTDIR)$(libsciintersci_la_includedir)"
921 @list='$(libsciintersci_la_include_HEADERS)'; test -n "$(libsciintersci_la_includedir)" || list=; \
922 for p in $$list; do \
923 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
924 echo "$$d$$p"; \
925 done | $(am__base_list) | \
926 while read files; do \
927 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libsciintersci_la_includedir)'"; \
928 $(INSTALL_HEADER) $$files "$(DESTDIR)$(libsciintersci_la_includedir)" || exit $$?; \
929 done
930
931uninstall-libsciintersci_la_includeHEADERS:
932 @$(NORMAL_UNINSTALL)
933 @list='$(libsciintersci_la_include_HEADERS)'; test -n "$(libsciintersci_la_includedir)" || list=; \
934 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
935 dir='$(DESTDIR)$(libsciintersci_la_includedir)'; $(am__uninstall_files_from_dir)
936
937ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
938 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
939 unique=`for i in $$list; do \
940 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
941 done | \
942 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
943 END { if (nonempty) { for (i in files) print i; }; }'`; \
944 mkid -fID $$unique
945tags: TAGS
946
947TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
948 $(TAGS_FILES) $(LISP)
949 set x; \
950 here=`pwd`; \
951 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
952 unique=`for i in $$list; do \
953 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
954 done | \
955 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
956 END { if (nonempty) { for (i in files) print i; }; }'`; \
957 shift; \
958 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
959 test -n "$$unique" || unique=$$empty_fix; \
960 if test $$# -gt 0; then \
961 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
962 "$$@" $$unique; \
963 else \
964 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
965 $$unique; \
966 fi; \
967 fi
968ctags: CTAGS
969CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
970 $(TAGS_FILES) $(LISP)
971 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
972 unique=`for i in $$list; do \
973 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
974 done | \
975 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
976 END { if (nonempty) { for (i in files) print i; }; }'`; \
977 test -z "$(CTAGS_ARGS)$$unique" \
978 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
979 $$unique
980
981GTAGS:
982 here=`$(am__cd) $(top_builddir) && pwd` \
983 && $(am__cd) $(top_srcdir) \
984 && gtags -i $(GTAGS_ARGS) "$$here"
985
986distclean-tags:
987 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
988
989distdir: $(DISTFILES)
990 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
991 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
992 list='$(DISTFILES)'; \
993 dist_files=`for file in $$list; do echo $$file; done | \
994 sed -e "s|^$$srcdirstrip/||;t" \
995 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
996 case $$dist_files in \
997 */*) $(MKDIR_P) `echo "$$dist_files" | \
998 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
999 sort -u` ;; \
1000 esac; \
1001 for file in $$dist_files; do \
1002 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1003 if test -d $$d/$$file; then \
1004 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1005 if test -d "$(distdir)/$$file"; then \
1006 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1007 fi; \
1008 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1009 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1010 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1011 fi; \
1012 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1013 else \
1014 test -f "$(distdir)/$$file" \
1015 || cp -p $$d/$$file "$(distdir)/$$file" \
1016 || exit 1; \
1017 fi; \
1018 done
1019check-am: all-am
1020 $(MAKE) $(AM_MAKEFLAGS) check-local
1021check: check-am
1022all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA) $(HEADERS) \
1023 all-local
1024installdirs:
1025 for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libsciintersci_la_etcdir)" "$(DESTDIR)$(libsciintersci_la_rootdir)" "$(DESTDIR)$(libsciintersci_la_includedir)"; do \
1026 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1027 done
1028install: install-am
1029install-exec: install-exec-am
1030install-data: install-data-am
1031uninstall: uninstall-am
1032
1033install-am: all-am
1034 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1035
1036installcheck: installcheck-am
1037install-strip:
1038 if test -z '$(STRIP)'; then \
1039 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1040 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1041 install; \
1042 else \
1043 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1044 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1045 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1046 fi
1047mostlyclean-generic:
1048
1049clean-generic:
1050
1051distclean-generic:
1052 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1053 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1054
1055maintainer-clean-generic:
1056 @echo "This command is intended for maintainers to use"
1057 @echo "it deletes files that may require special tools to rebuild."
1058clean: clean-am
1059
1060clean-am: clean-binPROGRAMS clean-generic clean-libtool clean-local \
1061 clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES mostlyclean-am
1062
1063distclean: distclean-am
1064 -rm -rf ./$(DEPDIR)
1065 -rm -f Makefile
1066distclean-am: clean-am distclean-compile distclean-generic \
1067 distclean-local distclean-tags
1068
1069dvi: dvi-am
1070
1071dvi-am:
1072
1073html: html-am
1074
1075html-am:
1076
1077info: info-am
1078
1079info-am:
1080
1081install-data-am: install-data-local install-libsciintersci_la_etcDATA \
1082 install-libsciintersci_la_includeHEADERS \
1083 install-libsciintersci_la_rootDATA
1084
1085install-dvi: install-dvi-am
1086
1087install-dvi-am:
1088
1089install-exec-am: install-binPROGRAMS install-pkglibLTLIBRARIES
1090
1091install-html: install-html-am
1092
1093install-html-am: install-html-local
1094
1095install-info: install-info-am
1096
1097install-info-am:
1098
1099install-man:
1100
1101install-pdf: install-pdf-am
1102
1103install-pdf-am:
1104
1105install-ps: install-ps-am
1106
1107install-ps-am:
1108
1109installcheck-am:
1110
1111maintainer-clean: maintainer-clean-am
1112 -rm -rf ./$(DEPDIR)
1113 -rm -f Makefile
1114maintainer-clean-am: distclean-am maintainer-clean-generic
1115
1116mostlyclean: mostlyclean-am
1117
1118mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1119 mostlyclean-libtool
1120
1121pdf: pdf-am
1122
1123pdf-am:
1124
1125ps: ps-am
1126
1127ps-am:
1128
1129uninstall-am: uninstall-binPROGRAMS \
1130 uninstall-libsciintersci_la_etcDATA \
1131 uninstall-libsciintersci_la_includeHEADERS \
1132 uninstall-libsciintersci_la_rootDATA \
1133 uninstall-pkglibLTLIBRARIES
1134
1135.MAKE: check-am install-am install-strip
1136
1137.PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
1138 clean clean-binPROGRAMS clean-generic clean-libtool \
1139 clean-local clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES \
1140 ctags distclean distclean-compile distclean-generic \
1141 distclean-libtool distclean-local distclean-tags distdir dvi \
1142 dvi-am html html-am info info-am install install-am \
1143 install-binPROGRAMS install-data install-data-am \
1144 install-data-local install-dvi install-dvi-am install-exec \
1145 install-exec-am install-html install-html-am \
1146 install-html-local install-info install-info-am \
1147 install-libsciintersci_la_etcDATA \
1148 install-libsciintersci_la_includeHEADERS \
1149 install-libsciintersci_la_rootDATA install-man install-pdf \
1150 install-pdf-am install-pkglibLTLIBRARIES install-ps \
1151 install-ps-am install-strip installcheck installcheck-am \
1152 installdirs maintainer-clean maintainer-clean-generic \
1153 mostlyclean mostlyclean-compile mostlyclean-generic \
1154 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
1155 uninstall-am uninstall-binPROGRAMS \
1156 uninstall-libsciintersci_la_etcDATA \
1157 uninstall-libsciintersci_la_includeHEADERS \
1158 uninstall-libsciintersci_la_rootDATA \
1159 uninstall-pkglibLTLIBRARIES
1160
1161
1162# This target enables tests for Scilab
1163check-local: $(top_builddir)/scilab-bin test
1164 if test -d $(mydatadir)/tests; then \
1165 @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
1166 fi
1167check-code:
1168 if test -f build.xml; then \
1169 $(ANT) checkstyle; \
1170 fi
1171 if test -x "$(SPLINT)"; then \
1172 $(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); \
1173 fi
1174@NEED_JAVA_TRUE@java:
1175# Some configurations needs to export JAVA_HOME in the current env
1176@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
1177@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1178@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
1179@NEED_JAVA_TRUE@ $(ANT); \
1180@NEED_JAVA_TRUE@ fi
1181
1182@NEED_JAVA_TRUE@clean-java:
1183# Some configurations needs to export JAVA_HOME in the current env
1184@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
1185@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1186@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
1187@NEED_JAVA_TRUE@ $(ANT) clean; \
1188@NEED_JAVA_TRUE@ fi;
1189
1190# If the user request for the SWIG generation of the wrappers Java => C/C++
1191# We call the target swig-build on the variable SWIG_WRAPPERS
1192
1193@SWIG_TRUE@swig: $(SWIG_WRAPPERS)
1194@SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
1195@SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
1196@SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \
1197@SWIG_TRUE@ for file in $(SWIG_WRAPPERS) ; do \
1198@SWIG_TRUE@ echo "Swig process of $$file ..."; \
1199@SWIG_TRUE@ $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \
1200@SWIG_TRUE@ done; \
1201@SWIG_TRUE@ fi
1202
1203# If the user request for the SWIG generation of the wrappers Java => C/C++
1204# We call the target swig-build on the variable SWIG_WRAPPERS
1205
1206@GIWS_TRUE@giws: $(GIWS_WRAPPERS)
1207@GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
1208@GIWS_TRUE@ if test -n "$(GIWS_WRAPPERS)"; then \
1209@GIWS_TRUE@ for file in $(GIWS_WRAPPERS) ; do \
1210@GIWS_TRUE@ echo "GIWS process of $$file ..."; \
1211@GIWS_TRUE@ $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
1212@GIWS_TRUE@ done; \
1213@GIWS_TRUE@ fi
1214
1215@GIWS_TRUE@giws-exception:
1216@GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
1217@GIWS_TRUE@ echo "GIWS: Generation of exception class ..."; \
1218@GIWS_TRUE@ $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR
1219
1220macros:
1221 -@( if test ! -x $(top_builddir)/scilab-bin; then \
1222 echo "Error : Cannot build $< : Scilab has not been built"; \
1223 else \
1224 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
1225 fi)
1226
1227# Removes the macros
1228clean-macros:
1229# Removes macros (*.bin generated from .sci)
1230 @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1231 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
1232 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
1233 done
1234
1235test:
1236# More tests could be added here
1237 @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1238 if test -f build.xml -a $$USEANT -eq 1; then \
1239 $(ANT) test; \
1240 fi
1241
1242all-local: $(TARGETS_ALL)
1243
1244.sci.bin:
1245 -@( if test ! -x $(top_builddir)/scilab-bin; then \
1246 echo "Error : Cannot build $< : Scilab has not been build"; \
1247 else \
1248 echo "Creating $@"; \
1249 $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
1250 fi )
1251
1252install-html-local:
1253
1254install-data-local-local:
1255# Mainly for javasci
1256 @if test -d $(srcdir)/javadoc; then \
1257 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
1258 fi
1259# If the user wants the help sources to be installed
1260@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
1261@INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
1262@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/$$lang; then \
1263@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
1264@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
1265@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
1266@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
1267@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
1268@INSTALL_HELP_XML_TRUE@ done ; \
1269@INSTALL_HELP_XML_TRUE@ fi; \
1270@INSTALL_HELP_XML_TRUE@ fi; \
1271@INSTALL_HELP_XML_TRUE@ done; \
1272@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
1273@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/mml/; then \
1274@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
1275@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
1276@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
1277@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
1278@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
1279@INSTALL_HELP_XML_TRUE@ done ; \
1280@INSTALL_HELP_XML_TRUE@ fi; \
1281@INSTALL_HELP_XML_TRUE@ fi
1282install-data-local:
1283# Install the tests
1284 @echo "-------- Install tests (if any) --------"; \
1285 for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
1286 if test -d $(srcdir)/$$dir/; then \
1287 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1288 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1289 if test -d "$(srcdir)/$$dir/$$file"; then \
1290 echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
1291 $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
1292 else \
1293 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1294 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1295 fi \
1296 done; \
1297 fi; \
1298 done
1299# Install the help chapter
1300 @echo "-------- Install the help chapter (if any) --------"; \
1301 for lang in $(HELP_CHAPTERLANG); do \
1302 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
1303 if test -f $$HELPFILE; then \
1304 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1305 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1306 echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1307 $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1308 fi; \
1309 done
1310# Install the demos & examples
1311 @echo "-------- Install demos & examples (if any) --------"; \
1312 for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
1313 if test -d $(srcdir)/$$dir/; then \
1314 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
1315 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1316 if test -d "$(srcdir)/$$dir/$$file"; then \
1317 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
1318 $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
1319 else \
1320 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1321 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1322 fi \
1323 done; \
1324 fi; \
1325 done
1326# Install the macros
1327 @echo "-------- Install macros (if any) --------"; \
1328 for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1329 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1330 if test -d $(srcdir)/$$dir/; then \
1331 FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
1332 if test -n "$(MACROSSPECIALEXT)"; then \
1333 specialExtDir=""; \
1334 for specialExt in $(MACROSSPECIALEXT); do \
1335 specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
1336 done; \
1337 FILELIST="$$FILELIST $$specialExtDir"; \
1338 fi; \
1339 for file in `ls -1 $$FILELIST 2>/dev/null`; do \
1340 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
1341 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
1342 done; \
1343 fi; \
1344 done
1345# Install java files (.jar)
1346 @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
1347 echo "-------- Install jar files --------"; \
1348 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
1349 for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
1350 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
1351 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
1352 done ; \
1353 fi
1354
1355########### CLEAN ###################
1356# Clean help (generated automatically by Scilab)
1357# It used to clean the macro (clean-macros) but this was causing
1358# make clean && make to fail Scilab startup
1359@NEED_JAVA_TRUE@clean-local: clean-java
1360@NEED_JAVA_FALSE@clean-local:
1361
1362distclean-local:
1363 rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
1364
1365.PHONY: macros java swig giws
1366
1367# Tell versions [3.59,3.63) of GNU make to not export all variables.
1368# Otherwise a system limit (for SysV at least) may be exceeded.
1369.NOEXPORT:
diff --git a/scilab/modules/intersci/etc/intersci.quit b/scilab/modules/intersci/etc/intersci.quit
deleted file mode 100644
index 8a0f997..0000000
--- a/scilab/modules/intersci/etc/intersci.quit
+++ /dev/null
@@ -1,10 +0,0 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2007-2008 - INRIA
3// Copyright (C) 2009 - DIGITEO
4//
5// This file must be used under the terms of the CeCILL.
6// This source file is licensed as described in the file COPYING, which
7// you should have received as part of this distribution. The terms
8// are also available at
9// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10
diff --git a/scilab/modules/intersci/etc/intersci.start b/scilab/modules/intersci/etc/intersci.start
deleted file mode 100644
index 03de709..0000000
--- a/scilab/modules/intersci/etc/intersci.start
+++ /dev/null
@@ -1,9 +0,0 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) 2006-2008 - INRIA
3//
4// This file must be used under the terms of the CeCILL.
5// This source file is licensed as described in the file COPYING, which
6// you should have received as part of this distribution. The terms
7// are also available at
8// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9
diff --git a/scilab/modules/intersci/examples/Makefile b/scilab/modules/intersci/examples/Makefile
deleted file mode 100644
index e696f81..0000000
--- a/scilab/modules/intersci/examples/Makefile
+++ /dev/null
@@ -1,149 +0,0 @@
1SHELL = /bin/sh
2
3SCIDIR=../..
4INTERSCI = $(SCIDIR)/bin/intersci
5
6include ../../Makefile.incl
7
8all:: info
9
10info:
11 @echo "Type \"make /tmp/pgm.o\" to compile pgm program"
12 @echo "Type \"make objs\" to compile all test programs"
13
14OBJS= /tmp/ex1c.o /tmp/ex2f.o /tmp/ex4f.o /tmp/ex5f.o /tmp/ex6c.o \
15 /tmp/ex7f.o /tmp/ex8c.o /tmp/ex9f.o /tmp/ex10f.o /tmp/ex11c.o \
16 /tmp/ex12c.o /tmp/ex13c.o /tmp/ex14c.o /tmp/ex15c.o /tmp/ex16c.o
17
18IOBJS= /tmp/ex1fi.o /tmp/ex2fi.o /tmp/ex3fi.o /tmp/ex4fi.o /tmp/ex5fi.o \
19 /tmp/ex6fi.o /tmp/ex7fi.o /tmp/ex8fi.o /tmp/ex9fi.o \
20 /tmp/ex10fi.o /tmp/ex11fi.o /tmp/ex12fi.o /tmp/ex13fi.o \
21 /tmp/ex14fi.o /tmp/ex15fi.o /tmp/ex16fi.o
22
23objs : $(OBJS) $(IOBJS)
24
25CFLAGS = $(CC_OPTIONS) $(CC_PICFLAGS) -I$(SCIDIR)/routines
26FFLAGS = $(FC_OPTIONS) $(FC_PICFLAGS) -I$(SCIDIR)/routines
27
28/tmp/ex1fi.o: ex1fi.desc
29 $(INTERSCI) ex1fi ; ./sedprov ex1fi
30 $(FC) $(FFLAGS) -c ex1fi.f -o /tmp/ex1fi.o
31
32/tmp/ex1c.o: ex1c.c
33 $(CC) $(CFLAGS) -c ex1c.c -o /tmp/ex1c.o
34
35/tmp/ex2fi.o: ex2fi.desc
36 $(INTERSCI) ex2fi ; ./sedprov ex2fi
37 $(FC) $(FFLAGS) -c ex2fi.f -o /tmp/ex2fi.o
38
39/tmp/ex2f.o: ex2f.f
40 $(FC) $(FFLAGS) -c ex2f.f -o /tmp/ex2f.o
41
42/tmp/ex3fi.o: ex3fi.desc
43 $(INTERSCI) ex3fi ; ./sedprov ex3fi
44 $(FC) $(FFLAGS) -c ex3fi.f -o /tmp/ex3fi.o
45
46/tmp/ex4fi.o: ex4fi.desc
47 $(INTERSCI) ex4fi ; ./sedprov ex4fi
48 $(FC) $(FFLAGS) -c ex4fi.f -o /tmp/ex4fi.o
49
50/tmp/ex4f.o: ex4f.f
51 $(FC) $(FFLAGS) -c ex4f.f -o /tmp/ex4f.o
52
53/tmp/ex5fi.o: ex5fi.desc
54 $(INTERSCI) ex5fi ; ./sedprov ex5fi
55 $(FC) $(FFLAGS) -c ex5fi.f -o /tmp/ex5fi.o
56
57/tmp/ex5f.o: ex5f.f
58 $(FC) $(FFLAGS) -c ex5f.f -o /tmp/ex5f.o
59
60/tmp/ex6fi.o: ex6fi.desc
61 $(INTERSCI) ex6fi ; ./sedprov ex6fi
62 $(FC) $(FFLAGS) -c ex6fi.f -o /tmp/ex6fi.o
63
64/tmp/ex6c.o: ex6c.c
65 $(CC) $(CFLAGS) -c ex6c.c -o /tmp/ex6c.o
66
67/tmp/ex7fi.o: ex7fi.desc
68 $(INTERSCI) ex7fi ; ./sedprov ex7fi
69 $(FC) $(FFLAGS) -c ex7fi.f -o /tmp/ex7fi.o
70
71/tmp/ex7f.o: ex7f.f
72 $(FC) $(FFLAGS) -c ex7f.f -o /tmp/ex7f.o
73
74/tmp/ex8fi.o: ex8fi.desc
75 $(INTERSCI) ex8fi ; ./sedprov ex8fi
76 $(FC) $(FFLAGS) -c ex8fi.f -o /tmp/ex8fi.o
77
78/tmp/ex8c.o: ex8c.c
79 $(CC) $(CFLAGS) -c ex8c.c -o /tmp/ex8c.o
80
81/tmp/ex9fi.o: ex9fi.desc
82 $(INTERSCI) ex9fi ; ./sedprov ex9fi
83 $(FC) $(FFLAGS) -c ex9fi.f -o /tmp/ex9fi.o
84
85/tmp/ex9f.o: ex9f.f
86 $(FC) $(FFLAGS) -c ex9f.f -o /tmp/ex9f.o
87
88/tmp/ex10fi.o: ex10fi.desc
89 $(INTERSCI) ex10fi ; ./sedprov ex10fi
90 $(FC) $(FFLAGS) -c ex10fi.f -o /tmp/ex10fi.o
91
92/tmp/ex10f.o: ex10f.f
93 $(FC) $(FFLAGS) -c ex10f.f -o /tmp/ex10f.o
94
95/tmp/ex11fi.o: ex11fi.desc
96 $(INTERSCI) ex11fi ; ./sedprov ex11fi
97 $(FC) $(FFLAGS) -c ex11fi.f -o /tmp/ex11fi.o
98
99/tmp/ex11c.o: ex11c.c
100 $(CC) $(CFLAGS) -c ex11c.c -o /tmp/ex11c.o
101
102/tmp/ex12fi.o: ex12fi.desc
103 $(INTERSCI) ex12fi ; ./sedprov ex12fi
104 $(FC) $(FFLAGS) -c ex12fi.f -o /tmp/ex12fi.o
105
106/tmp/ex12c.o: ex12c.c
107 $(CC) $(CFLAGS) -c ex12c.c -o /tmp/ex12c.o
108
109/tmp/ex13fi.o: ex13fi.desc
110 $(INTERSCI) ex13fi ; ./sedprov ex13fi
111 $(FC) $(FFLAGS) -c ex13fi.f -o /tmp/ex13fi.o
112
113/tmp/ex13c.o: ex13c.c
114 $(CC) $(CFLAGS) -c ex13c.c -o /tmp/ex13c.o
115
116/tmp/ex14fi.o: ex14fi.desc
117 $(INTERSCI) ex14fi ; ./sedprov ex14fi
118 $(FC) $(FFLAGS) -c ex14fi.f -o /tmp/ex14fi.o
119
120/tmp/ex14c.o: ex14c.c
121 $(CC) $(CFLAGS) -c ex14c.c -o /tmp/ex14c.o
122
123
124/tmp/ex15fi.o: ex15fi.desc
125 $(INTERSCI) ex15fi ; ./sedprov ex15fi
126 $(FC) $(FFLAGS) -c ex15fi.f -o /tmp/ex15fi.o
127
128/tmp/ex15c.o: ex15c.c
129 $(CC) $(CFLAGS) -c ex15c.c -o /tmp/ex15c.o
130
131/tmp/ex16fi.o: ex16fi.desc
132 $(INTERSCI) ex16fi ; ./sedprov ex16fi
133 $(FC) $(FFLAGS) -c ex16fi.f -o /tmp/ex16fi.o
134
135/tmp/ex16c.o: ex16c.c
136 $(CC) $(CFLAGS) -c ex16c.c -o /tmp/ex16c.o
137
138tests : Makefile
139 @$(RM) zallfi.desc
140 @cat *.desc > zallfi
141 @mv zallfi zallfi.desc
142 @$(INTERSCI) zallfi > /dev/null ; ./sedprov zallfi
143 @$(SCIDIR)/util/scidem $(SCIDIR) zall.sce zallfi.dia
144
145distclean:: clean
146
147clean ::
148 @$(RM) ex*fi.f ex*fi.sce ex*fi.tmp zallfi zallfi.desc zallfi.sce zallfi.f zallfi.o zallfi.dia
149 @$(RM) $(OBJS) $(IOBJS)
diff --git a/scilab/modules/intersci/examples/Makefile.mak b/scilab/modules/intersci/examples/Makefile.mak
deleted file mode 100644
index b26165e..0000000
--- a/scilab/modules/intersci/examples/Makefile.mak
+++ /dev/null
@@ -1,253 +0,0 @@
1SHELL = /bin/sh
2
3SCIDIR=../../..
4SCIDIR1=..\..\..
5
6DUMPEXTS="$(SCIDIR1)\bin\dumpexts"
7SCIIMPLIB=$(SCIDIR)/bin/LibScilab.lib
8INTERSCI="$(SCIDIR1)\modules\intersci\bin\intersci"
9F2C="$(SCIDIR1)\bin\f2c.exe"
10
11include ../../dynamic_link/src/scripts/Makefile.incl.mak
12
13FFLAGS = $(FC_OPTIONS) -DFORDLL INCLUDES=-I"$(SCIDIR)\libs\MALLOC\includes" -I"$(SCIDIR)\modules\core\includes" -I"$(SCIDIR)/libs/f2c" -I"$(SCIDIR)/modules/mexlib/includes"
14CFLAGS = $(CC_OPTIONS) -DFORDLL INCLUDES=-I"$(SCIDIR)\libs\MALLOC\includes" -I"$(SCIDIR)\modules\core\includes" -I"$(SCIDIR)/libs/f2c" -I"$(SCIDIR)/modules/mexlib/includes"
15
16all:: info
17
18info:
19 @echo Type "nmake /f Makefile.mak dlls" to compile all programs
20 @echo Type "nmake /f Makefile.mak pgm.dll" to compile pgm program
21
22DLLS= ex1.dll ex2.dll ex3.dll ex4.dll ex5.dll ex6.dll \
23 ex7.dll ex8.dll ex9.dll ex10.dll ex11.dll ex12.dll \
24 ex13.dll ex14.dll ex15.dll ex16.dll
25
26dlls : $(DLLS)
27
28ex1.dll : ex1fi.obj ex1c.obj
29 @echo Creation of dll $(DLL) and import lib
30 @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
31 @$(LINKER) $(LINKER_FLAGS) $** $(SCIIMPLIB) $(SCILAB_LIBS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
32
33ex1fi.obj : ex1fi.desc
34 @$(INTERSCI) $*
35 @$(F2C) $*.f
36 @$(CC) $(CFLAGS) $*.c
37 @del $*.c
38
39ex2.dll : ex2fi.obj ex2f.obj
40 @echo Creation of dll $(DLL) and import lib
41 @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
42 @$(LINKER) $(LINKER_FLAGS) $** $(SCIIMPLIB) $(SCILAB_LIBS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
43
44ex2fi.obj : ex2fi.desc
45 @$(INTERSCI) $*
46 @$(F2C) $*.f
47 @$(CC) $(CFLAGS) $*.c
48 @del $*.c
49
50ex3.dll : ex3fi.obj
51 @echo Creation of dll $(DLL) and import lib
52 @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
53 @$(LINKER) $(LINKER_FLAGS) $** $(SCIIMPLIB) $(SCILAB_LIBS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
54
55ex3fi.obj : ex3fi.desc
56 @$(INTERSCI) $*
57 @$(F2C) $*.f
58 @$(CC) $(CFLAGS) $*.c
59 @del $*.c
60
61ex4.dll : ex4fi.obj ex4f.obj
62 @echo Creation of dll $(DLL) and import lib
63 @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
64 @$(LINKER) $(LINKER_FLAGS) $** $(SCIIMPLIB) $(SCILAB_LIBS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
65
66ex4fi.obj : ex4fi.desc
67 @$(INTERSCI) $*
68 @$(F2C) $*.f
69 @$(CC) $(CFLAGS) $*.c
70 @del $*.c
71
72ex5.dll : ex5fi.obj ex5f.obj
73 @echo Creation of dll $(DLL) and import lib
74 @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
75 @$(LINKER) $(LINKER_FLAGS) $** $(SCIIMPLIB) $(SCILAB_LIBS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
76
77ex5fi.obj : ex5fi.desc
78 @$(INTERSCI) $*
79 @$(F2C) $*.f
80 @$(CC) $(CFLAGS) $*.c
81 @del $*.c
82
83
84ex6.dll : ex6fi.obj ex6c.obj
85 @echo Creation of dll $(DLL) and import lib
86 @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
87 @$(LINKER) $(LINKER_FLAGS) $** $(SCIIMPLIB) $(SCILAB_LIBS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
88
89ex6fi.obj : ex6fi.desc
90 @$(INTERSCI) $*
91 @$(F2C) $*.f
92 @$(CC) $(CFLAGS) $*.c
93 @del $*.c
94
95ex7.dll : ex7fi.obj ex7f.obj
96 @echo Creation of dll $(DLL) and import lib
97 @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
98 @$(LINKER) $(LINKER_FLAGS) $** $(SCIIMPLIB) $(SCILAB_LIBS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
99
100ex7fi.obj : ex7fi.desc
101 @$(INTERSCI) $*
102 @$(F2C) $*.f
103 @$(CC) $(CFLAGS) $*.c
104 @del $*.c
105
106ex8.dll : ex8fi.obj ex8c.obj
107 @echo Creation of dll $(DLL) and import lib
108 @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
109 @$(LINKER) $(LINKER_FLAGS) $** $(SCIIMPLIB) $(SCILAB_LIBS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
110
111ex8fi.obj : ex8fi.desc
112 @$(INTERSCI) $*
113 @$(F2C) $*.f
114 @$(CC) $(CFLAGS) $*.c
115 @del $*.c
116
117ex9.dll : ex9fi.obj ex9f.obj
118 @echo Creation of dll $(DLL) and import lib
119 @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
120 @$(LINKER) $(LINKER_FLAGS) $** $(SCIIMPLIB) $(SCILAB_LIBS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
121
122ex9fi.obj : ex9fi.desc
123 @$(INTERSCI) $*
124 @$(F2C) $*.f
125 @$(CC) $(CFLAGS) $*.c
126 @del $*.c
127
128
129ex10.dll : ex10fi.obj ex10f.obj
130 @echo Creation of dll $(DLL) and import lib
131 @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
132 @$(LINKER) $(LINKER_FLAGS) $** $(SCIIMPLIB) $(SCILAB_LIBS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
133
134ex10fi.obj : ex10fi.desc
135 @$(INTERSCI) $*
136 @$(F2C) $*.f
137 @$(CC) $(CFLAGS) $*.c
138 @del $*.c
139
140
141ex11.dll : ex11fi.obj ex11c.obj
142 @echo Creation of dll $(DLL) and import lib
143 @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
144 @$(LINKER) $(LINKER_FLAGS) $** $(SCIIMPLIB) $(SCILAB_LIBS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
145
146ex11fi.obj : ex11fi.desc
147 @$(INTERSCI) $*
148 @$(F2C) $*.f
149 @$(CC) $(CFLAGS) $*.c
150 @del $*.c
151
152ex12.dll : ex12fi.obj ex12c.obj
153 @echo Creation of dll $(DLL) and import lib
154 @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
155 @$(LINKER) $(LINKER_FLAGS) $** $(SCIIMPLIB) $(SCILAB_LIBS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
156
157ex12fi.obj : ex12fi.desc
158 @$(INTERSCI) $*
159 @$(F2C) $*.f
160 @$(CC) $(CFLAGS) $*.c
161 @del $*.c
162
163ex13.dll : ex13fi.obj ex13c.obj
164 @echo Creation of dll $(DLL) and import lib
165 @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
166 @$(LINKER) $(LINKER_FLAGS) $** $(SCIIMPLIB) $(SCILAB_LIBS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
167
168ex13fi.obj : ex13fi.desc
169 @$(INTERSCI) $*
170 @$(F2C) $*.f
171 @$(CC) $(CFLAGS) $*.c
172 @del $*.c
173
174ex14.dll : ex14fi.obj ex14c.obj
175 @echo Creation of dll $(DLL) and import lib
176 @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
177 @$(LINKER) $(LINKER_FLAGS) $** $(SCIIMPLIB) $(SCILAB_LIBS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
178
179ex14fi.obj : ex14fi.desc
180 @$(INTERSCI) $*
181 @$(F2C) $*.f
182 @$(CC) $(CFLAGS) $*.c
183 @del $*.c
184
185ex15.dll : ex15fi.obj ex15c.obj
186 @echo Creation of dll $(DLL) and import lib
187 @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
188 @$(LINKER) $(LINKER_FLAGS) $** $(SCIIMPLIB) $(SCILAB_LIBS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
189
190ex15fi.obj : ex15fi.desc
191 @$(INTERSCI) $*
192 @$(F2C) $*.f
193 @$(CC) $(CFLAGS) $*.c
194 @del $*.c
195
196
197ex16.dll : ex16fi.obj ex16c.obj
198 @echo Creation of dll $(DLL) and import lib
199 @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
200 @$(LINKER) $(LINKER_FLAGS) $** $(SCIIMPLIB) $(SCILAB_LIBS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
201
202ex16fi.obj : ex16fi.desc
203 @$(INTERSCI) $*
204 @$(F2C) $*.f
205 @$(CC) $(CFLAGS) $*.c
206 @del $*.c
207
208clean::
209
210
211distclean ::
212 @del *.obj
213 @del *.dll
214 @del *.lib
215 @del *.pdk
216 @del *.pdb
217 @del *.ilk
218 @del *.def
219 @del *.exp
220
221#------------------------------------------------------------
222
223OBJS=ex1c.obj ex2f.obj ex4f.obj ex5f.obj ex6c.obj ex7f.obj ex8c.obj \
224 ex9f.obj ex10f.obj ex11c.obj ex12c.obj ex13c.obj ex14c.obj \
225 ex15c.obj ex16c.obj
226
227zallfi.dll : zallfi.obj $(OBJS)
228 @echo Creation of dll $(DLL) and import lib
229 @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
230 @$(LINKER) $(LINKER_FLAGS) $** $(SCIIMPLIB) $(SCILAB_LIBS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
231
232zallfi.obj : zallfi.desc
233 @$(INTERSCI) $*
234 @$(F2C) $*.f
235 @$(CC) $(CFLAGS) $*.c
236 @del $*.c
237
238zallfi.desc :
239 @del zallfi.desc
240 copy *.desc zallfi.desc
241
242tests : zallfi.desc zallfi.obj
243 "$(SCIDIR1)\bin\scilex.exe" -f zall.sce
244
245distclean:: clean
246
247clean ::
248 @del zallfi
249 @del zallfi.sce
250 @del zallfi.f
251 @del zallfi.obj
252 @del zallfi.dia
253
diff --git a/scilab/modules/intersci/examples/README.txt b/scilab/modules/intersci/examples/README.txt
deleted file mode 100644
index 7d93e66..0000000
--- a/scilab/modules/intersci/examples/README.txt
+++ /dev/null
@@ -1,29 +0,0 @@
1Example of use of intersci.
2Interfacing C and Fortran programs with Scilab.
3
4ex*.sce : Scilab script to execute the corresponding demo
5ex*fi.desc : intersci descriptor file
6ex*fi-l.list : intersci descriptor for list arguments
7ex*c.c : C function to be interfaced
8ex*f.f : Fortran function to be interfaced
9
10ex1* : simple example with vectors
11ex2* : example with scilab vectors and type conversion to real
12ex3* : example with vectors and a Scilab internal function
13ex4* : example with a list
14ex5* : example with Scilab string and matrices
15ex6* : two examples with scilab matrices of string
16ex7* : a simple example with Scilab string
17ex8* : an example with a C dynamically allocated array of int
18ex9* : an example with optional arguments
19ex10*: a simple example with lists
20ex11*: an example with complex matrices
21ex12*: an example with a user external type
22ex13*: an example with size conversion on output
23ex14*: a set of examples with sparse matrices. testing all possible
24 cases.
25ex15*: a set of examples with standard matrices. testing all possible
26 cases.
27ex16*: a set of examples with boolean matrices. testing all possible
28 cases.
29
diff --git a/scilab/modules/intersci/examples/ex1.sce b/scilab/modules/intersci/examples/ex1.sce
deleted file mode 100644
index c95c939..0000000
--- a/scilab/modules/intersci/examples/ex1.sce
+++ /dev/null
@@ -1,24 +0,0 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) ????-2008 - INRIA
3//
4// This file must be used under the terms of the CeCILL.
5// This source file is licensed as described in the file COPYING, which
6// you should have received as part of this distribution. The terms
7// are also available at
8// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9
10
11//ex1 example
12//1-Creating interface source file
13// from ex1fi.desc file by call to intersci (see Makefile)
14// Making object files
15files=G_make(['/tmp/ex1fi.o','/tmp/ex1c.o'],'ex1.dll');
16//2-Link object files .o with addinter
17//addinter(files,'intex1',intex1_funs);
18exec('ex1fi.sce');
19//Run Scilab functions:
20a=[1,2,3];b=[4,5,6];
21c=ext1c(a,b);
22if norm(c-(a+b)) > %eps then pause,end
23
24
diff --git a/scilab/modules/intersci/examples/ex10.sce b/scilab/modules/intersci/examples/ex10.sce
deleted file mode 100644
index 4d5caeb..0000000
--- a/scilab/modules/intersci/examples/ex10.sce
+++ /dev/null
@@ -1,32 +0,0 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) ????-2008 - INRIA
3//
4// This file must be used under the terms of the CeCILL.
5// This source file is licensed as described in the file COPYING, which
6// you should have received as part of this distribution. The terms
7// are also available at
8// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9
10
11//1-Creating interface source file (matusr.f)
12// from ex10fi.desc file by call to intersci
13// Making object files
14// Interface file '/tmp/ex10fi.o'
15// User's files '/tmp/ex10f.o';
16//
17files=G_make(['/tmp/ex10fi.o','/tmp/ex10f.o'],'ex10.dll');
18//2-Link object files .o with addinter
19//addinter(files,'ex10fi',matusr_funs);
20exec('ex10fi.sce');
21//Test Scilab functions:
22// calc1: 3 matrix input variables and at most 3 output variables of
23// types double, real, int
24l=calc10(list(1,[2,3],[1,2;3,4]));
25if norm(l(1)-2) > %eps then pause,end
26if norm(l(2)-([2,3]+[1,2])) > %eps then pause,end
27if norm(l(3)-([1,2;3,4]+[1,3;2,4])) > %eps then pause,end
28
29
30
31
32
diff --git a/scilab/modules/intersci/examples/ex10f.f b/scilab/modules/intersci/examples/ex10f.f
deleted file mode 100644
index 2131af8..0000000
--- a/scilab/modules/intersci/examples/ex10f.f
+++ /dev/null
@@ -1,33 +0,0 @@
1c Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2c Copyright (C) ????-2008 - INRIA
3c
4c This file must be used under the terms of the CeCILL.
5c This source file is licensed as described in the file COPYING, which
6c you should have received as part of this distribution. The terms
7c are also available at
8c http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9 subroutine fcalc10(ii,m1,n1,db,m2,n2,rea,m3,n3)
10 integer ii(*)
11 double precision db(*)
12 real rea(*)
13 do 10 i=1,m1*n1
14 ii(i) =i + ii(i)
15 10 continue
16 do 20 i=1,m2*n2
17 db(i) = dble(i) + db(i)
18 20 continue
19 do 30 i=1,m3*n3
20 rea(i) = real(i) + rea(i)
21 30 continue
22 return
23 end
24
25
26
27
28
29
30
31
32
33
diff --git a/scilab/modules/intersci/examples/ex10fi-l.list b/scilab/modules/intersci/examples/ex10fi-l.list
deleted file mode 100644
index dc28503..0000000
--- a/scilab/modules/intersci/examples/ex10fi-l.list
+++ /dev/null
@@ -1,10 +0,0 @@
11 a
2a matrix ma na
3******************************
42 b
5b matrix mb nb
6******************************
73 c
8c matrix mc nc
9******************************
10
diff --git a/scilab/modules/intersci/examples/ex10fi.desc b/scilab/modules/intersci/examples/ex10fi.desc
deleted file mode 100644
index ee68aba..0000000
--- a/scilab/modules/intersci/examples/ex10fi.desc
+++ /dev/null
@@ -1,10 +0,0 @@
1calc10 ll
2ll list ex10fi-l
3
4fcalc10 a(ll) ma(ll) na(ll) b(ll) mb(ll) nb(ll) c(ll) mc(ll) nc(ll)
5a(ll) integer
6b(ll) double
7c(ll) real
8
9out list a(ll) b(ll) c(ll)
10******************************
diff --git a/scilab/modules/intersci/examples/ex11.sce b/scilab/modules/intersci/examples/ex11.sce
deleted file mode 100644
index 30fb8f0..0000000
--- a/scilab/modules/intersci/examples/ex11.sce
+++ /dev/null
@@ -1,27 +0,0 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) ????-2008 - INRIA
3//
4// This file must be used under the terms of the CeCILL.
5// This source file is licensed as described in the file COPYING, which
6// you should have received as part of this distribution. The terms
7// are also available at
8// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9
10
11//ex11 example
12//1-Creating interface source file
13// from ex11fi.desc file by call to intersci
14// Making object files
15// Interface file '/tmp/ex11fi.o'
16// User's files '/tmp/ex11c.o';
17files=G_make(['/tmp/ex11fi.o','/tmp/ex11c.o'],'ex11.dll');
18//2-Link object files .o with addinter
19//addinter(files,'intex11',intex1_funs);
20exec('ex11fi.sce');
21//Run Scilab functions:
22a=[1,2,3]+%i*[4,5,6];
23b=ext11c(a);
24if norm(b-([4,5,6]+%i*[1,2,3])) > %eps then pause,end
25
26
27
diff --git a/scilab/modules/intersci/examples/ex11c.c b/scilab/modules/intersci/examples/ex11c.c
deleted file mode 100644
index e18551f..0000000
--- a/scilab/modules/intersci/examples/ex11c.c
+++ /dev/null
@@ -1,40 +0,0 @@
1/*
2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) ????-2008 - INRIA
4 * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 */
13
14
15#include "../../routines/machine.h"
16
17/*******************************************
18 * complex matrices
19 * are transmited as ar,ai,itra
20 * real part, imaginary part and a descriptor flag
21 * the descriptor flag is 1 for a complex matrix 0 if the
22 * matrix is real valued
23 *******************************************/
24
25int F2C(ext11c)(double *ar, double *ai, int *itra,
26 double *br, double *bi,int *itrb, int *m, int *n)
27{
28 int k;
29 for (k = 0; k < *n*(*m); ++k)
30 {
31 if ( *itra == 1)
32 br[k] = ai[k];
33 else
34 br[k] = 0.0;
35 bi[k] = ar[k];
36 }
37 *itrb=1;
38 return(0);
39}
40
diff --git a/scilab/modules/intersci/examples/ex11fi.desc b/scilab/modules/intersci/examples/ex11fi.desc
deleted file mode 100644
index 45fbbd0..0000000
--- a/scilab/modules/intersci/examples/ex11fi.desc
+++ /dev/null
@@ -1,12 +0,0 @@
1ext11c a
2a imatrix m n it
3b imatrix m n it
4
5ext11c a b m n
6m integer
7n integer
8a double
9b double
10
11out sequence b
12***********************
diff --git a/scilab/modules/intersci/examples/ex12.sce b/scilab/modules/intersci/examples/ex12.sce
deleted file mode 100644
index 0b8f2d0..0000000
--- a/scilab/modules/intersci/examples/ex12.sce
+++ /dev/null
@@ -1,27 +0,0 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) ????-2008 - INRIA
3//
4// This file must be used under the terms of the CeCILL.
5// This source file is licensed as described in the file COPYING, which
6// you should have received as part of this distribution. The terms
7// are also available at
8// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9
10
11//ex12 example
12//1-Creating interface source file
13// Making object files
14// Interface file '/tmp/ex12fi.o'
15// User's files '/tmp/ex12c.o';
16files=G_make(['/tmp/ex12fi.o','/tmp/ex12c.o'],'ex12.dll');
17//2-Link object files .o with addinter
18//addinter(files,'intex12',intex1_funs);
19exec('ex12fi.sce');
20//Run Scilab functions:
21b=ccalc12();
22
23if norm(b-(0:9)) > %eps then pause,end
24
25
26
27
diff --git a/scilab/modules/intersci/examples/ex12c.c b/scilab/modules/intersci/examples/ex12c.c
deleted file mode 100644
index 9185372..0000000
--- a/scilab/modules/intersci/examples/ex12c.c
+++ /dev/null
@@ -1,71 +0,0 @@
1/*
2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) ????-2008 - INRIA
4 *
5 * This file must be used under the terms of the CeCILL.
6 * This source file is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at
9 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10 *
11 */
12
13
14#include "../../routines/machine.h"
15
16/*******************************************
17 * External type for intersci
18 * creating a new external type
19 * ccalc12 : the wrapped function which returns a handler
20 * to a dynamically allocated object
21 * ccalc12f : function for the wrapper which <<converts>>
22 * Array to Scilab data
23 *******************************************/
24
25typedef struct array {
26 int m,n;
27 double *val;
28} Array ;
29
30C2F(ccalc12) ( a,m,n,err)
31 Array **a; int *m,*n,*err ;
32{
33 int i;
34 *a = ( Array *) malloc( sizeof(Array));
35 if ( *a == (Array *) 0)
36 {
37 *err=1;
38 sciprint("No more space\n");
39 }
40 *m = (*a)->m = 1;
41 *n = (*a)->n = 10;
42 (*a)->val = (double *) malloc( (unsigned) (*m)*(*n) *sizeof(double));
43 if ( (*a)->val == (double *) 0 )
44 {
45 *err=1;
46 sciprint("No more space\n");
47 }
48 *err=0;
49 for ( i= 0 ; i < (*m)*(*n) ; i++) (*a)->val[i] = i ;
50}
51
52
53C2F(ccalc12f)(n,ip,op)
54 int *n;
55 Array **ip;
56 double *op;
57{
58 int i;
59 if ( *n > 0 ) {
60 for (i = 0; i < *n; i++)
61 op[i]= (*ip)->val[i];
62 free((char *)(*ip)->val);
63 free((char *)(*ip));
64 }
65}
66
67
68
69
70
71
diff --git a/scilab/modules/intersci/examples/ex12fi.desc b/scilab/modules/intersci/examples/ex12fi.desc
deleted file mode 100644
index 96717f3..0000000
--- a/scilab/modules/intersci/examples/ex12fi.desc
+++ /dev/null
@@ -1,10 +0,0 @@
1ccalc12
2a matrix m n
3
4ccalc12 a m n err
5a ccalc12f
6m integer
7n integer
8
9out sequence a
10***********************
diff --git a/scilab/modules/intersci/examples/ex13.sce b/scilab/modules/intersci/examples/ex13.sce
deleted file mode 100644
index 0510fc3..0000000
--- a/scilab/modules/intersci/examples/ex13.sce
+++ /dev/null
@@ -1,26 +0,0 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) ????-2008 - INRIA
3//
4// This file must be used under the terms of the CeCILL.
5// This source file is licensed as described in the file COPYING, which
6// you should have received as part of this distribution. The terms
7// are also available at
8// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9
10
11//ex13 example
12//1-Creating interface source file
13// Making object files
14// Interface file '/tmp/ex13fi.o'
15// User's files '/tmp/ex13c.o'
16files=G_make(['/tmp/ex13fi.o','/tmp/ex13c.o'],'ex13.dll');
17//2-Link object files .o with addinter
18//addinter(files,'intex13',intex1_funs);
19exec('ex13fi.sce');
20//Run Scilab functions:
21a=rand(2,3);
22b=ext13c(a);
23if norm(b- matrix(2*a,3,2)) > %eps then pause,end
24
25
26
diff --git a/scilab/modules/intersci/examples/ex13c.c b/scilab/modules/intersci/examples/ex13c.c
deleted file mode 100644
index e455eb1..0000000
--- a/scilab/modules/intersci/examples/ex13c.c
+++ /dev/null
@@ -1,28 +0,0 @@
1/*
2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) ????-2008 - INRIA
4 * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 */
13
14
15#include "../../routines/machine.h"
16
17/*******************************************
18 * simple example
19 *******************************************/
20
21int F2C(ext13c)( double *ar, int *m, int *n)
22{
23 int k;
24 for (k = 0; k < *n*(*m); ++k)
25 ar[k]= 2*ar[k];
26 return(0);
27}
28
diff --git a/scilab/modules/intersci/examples/ex13fi.desc b/scilab/modules/intersci/examples/ex13fi.desc
deleted file mode 100644
index 7226c02..0000000
--- a/scilab/modules/intersci/examples/ex13fi.desc
+++ /dev/null
@@ -1,12 +0,0 @@
1ext13c a
2a matrix m n
3o matrix n m
4
5ext13c a m n
6m integer
7n integer
8a double
9
10out sequence o
11o a
12***********************
diff --git a/scilab/modules/intersci/examples/ex14.sce b/scilab/modules/intersci/examples/ex14.sce
deleted file mode 100644
index 3fc800f..0000000
--- a/scilab/modules/intersci/examples/ex14.sce
+++ /dev/null
@@ -1,100 +0,0 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) ????-2008 - INRIA
3//
4// This file must be used under the terms of the CeCILL.
5// This source file is licensed as described in the file COPYING, which
6// you should have received as part of this distribution. The terms
7// are also available at
8// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9
10
11//ex14 example
12//1-Creating interface source file
13// from ex14fi.desc file by call to intersci
14// Making object files
15// Interface file '/tmp/ex14fi.o';
16// User's files '/tmp/ex14c.o'
17files=G_make(['/tmp/ex14fi.o','/tmp/ex14c.o';],'ex14.dll');
18//2-Link object files .o with addinter
19//addinter(files,'intex14',intex1_funs);
20exec('ex14fi.sce');
21//Run Scilab functions:
22a=[0,0,1.23;0,2.32,0;3.45,0,0];
23ai=[0,0,9;0,6,0;7,0,0];
24spa=sparse(a);
25spai=sparse(a+%i*ai);
26// simple sparse argument
27
28b=spt1(spa);
29if norm(full(b- spa)) > %eps then pause,end
30
31b=spt1(spai);
32if norm(full(b- spai)) > %eps then pause,end
33
34// sparse argument + conversion to int
35
36b=spt2(spa);
37if norm(full(b- int(spa))) > %eps then pause,end
38
39b=spt2(spai);
40if norm(full(b- int(spai))) > %eps then pause,end
41
42// sparse and return a sparse in a list
43
44b=spt3(spa);
45if norm(full(b(1)- spa)) > %eps then pause,end
46
47b=spt3(spai);
48if norm(full(b(1)- spai)) > %eps then pause,end
49
50// new sparse in intersci
51
52b=spt4(spa);
53if norm(full(b- 2*spa)) > %eps then pause,end
54
55b=spt4(spai);
56if norm(full(b- 2*spai)) > %eps then pause,end
57
58// new sparse + conversion to int
59
60b=spt5(spa);
61if norm(full(b- int(2*spa))) > %eps then pause,end
62
63b=spt5(spai);
64if norm(full(b- int(2*spai))) > %eps then pause,end
65
66// new sparse returned in a list
67
68b=spt6(spa);
69if norm(full(b(1)- 2*spa)) > %eps then pause,end
70
71b=spt6(spai);
72if norm(full(b(1)- 2*spai)) > %eps then pause,end
73
74// list argument with a sparse
75
76b=spt7(list(spa));
77if norm(full(b- spa)) > %eps then pause,end
78
79b=spt7(list(spai));
80if norm(full(b- spai)) > %eps then pause,end
81
82// list argument + conversion
83
84b=spt8(list(spa));
85if norm(full(b- int(spa))) > %eps then pause,end
86
87b=spt8(list(spai));
88if norm(full(b- int(spai))) > %eps then pause,end
89
90// list argument + list output
91
92b=spt9(list(spa));
93if norm(full(b(1)- spa)) > %eps then pause,end
94
95b=spt9(list(spai));
96if norm(full(b(1)- spai)) > %eps then pause,end
97
98b=spt10(spa);
99if norm(full(b- 2*spa)) > %eps then pause,end
100
diff --git a/scilab/modules/intersci/examples/ex14c.c b/scilab/modules/intersci/examples/ex14c.c
deleted file mode 100644
index a21e34d..0000000
--- a/scilab/modules/intersci/examples/ex14c.c
+++ /dev/null
@@ -1,212 +0,0 @@
1/*
2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) ????-2008 - INRIA
4 *
5 * This file must be used under the terms of the CeCILL.
6 * This source file is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at
9 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10 *
11 */
12
13
14#include "stack-c.h"
15
16/*******************************************
17 * simple example with sparse matrix
18 * Display of a
19 *******************************************/
20
21int F2C(ext14ca)(it,m,n,nel,mnel,icol,ar,ai)
22 int *n,*m,*it,*nel,*mnel,*icol;
23 double *ar,*ai;
24{
25 int i,iof = 0, j;
26 for ( i = 0; i < *m ; i++)
27 {
28 sciprint("Row %d, %d non zero elements\n",i+1,mnel[i]);
29 for ( j = 0; j < mnel[i]; j++)
30 {
31 if (*it == 1)
32 sciprint("(%d,%d) -> %f +i%f\n",i+1,icol[iof+j],
33 ar[iof+j],ai[iof+j]);
34 else
35 sciprint("(%d,%d) -> %f\n",i+1,icol[iof+j],
36 ar[iof+j]);
37 }
38 iof += mnel[i];
39 }
40 return(0);
41}
42
43/*******************************************
44 * simple example with sparse matrix
45 * 2*a copied into b
46 *******************************************/
47
48int F2C(ext14cb)(it1,m1,n1,nel1,mnel1,icol1,ar1,ai1,
49 it2,m2,n2,nel2,mnel2,icol2,ar2,ai2)
50 int *n1,*m1,*it1,*nel1,*mnel1,*icol1;
51 double *ar1,*ai1;
52 int *it2,*m2,*n2,*nel2,*mnel2,*icol2;
53 double *ar2,*ai2;
54{
55 int i,iof = 0, j;
56 for ( i = 0; i < *m1 ; i++)
57 {
58 for ( j = 0; j < mnel1[i]; j++)
59 {
60 if (*it1 == 1)
61 {
62 ai2[iof+j] = 2*ai1[iof+j];
63 }
64 ar2[iof+j] = 2*ar1[iof+j];
65 }
66 iof += mnel1[i];
67 }
68 for ( i = 0 ; i < *m1 ; i++ )
69 mnel2[i]= mnel1[i];
70 for ( i = 0 ; i < *nel1 ; i++)
71 icol2[i] = icol1[i] ;
72 return(0);
73}
74
75/*******************************************
76 * same as ext14ca but ar and ai are integers
77 *******************************************/
78
79int F2C(ext14cc)(it,m,n,nel,mnel,icol,ar,ai)
80 int *n,*m,*it,*nel,*mnel,*icol;
81 int *ar,*ai;
82{
83 int i,iof = 0, j;
84 for ( i = 0; i < *m ; i++)
85 {
86 sciprint("Row %d, %d non zero elements\n",i+1,mnel[i]);
87 for ( j = 0; j < mnel[i]; j++)
88 {
89 if (*it == 1)
90 sciprint("(%d,%d) -> %d +i%d\n",i+1,icol[iof+j],
91 ar[iof+j],ai[iof+j]);
92 else
93 sciprint("(%d,%d) -> %d\n",i+1,icol[iof+j],
94 ar[iof+j]);
95 }
96 iof += mnel[i];
97 }
98 return(0);
99}
100
101
102/*******************************************
103 * same as ext14cb but ar2 and ai2 are integers
104 *
105 *******************************************/
106
107
108int F2C(ext14cd)(it1,m1,n1,nel1,mnel1,icol1,ar1,ai1,
109 it2,m2,n2,nel2,mnel2,icol2,ar2,ai2)
110 int *n1,*m1,*it1,*nel1,*mnel1,*icol1;
111 double *ar1,*ai1;
112 int *it2,*m2,*n2,*nel2,*mnel2,*icol2;
113 int *ar2,*ai2;
114{
115 int i,iof = 0, j;
116 for ( i = 0; i < *m1 ; i++)
117 {
118 for ( j = 0; j < mnel1[i]; j++)
119 {
120 if (*it1 == 1)
121 {
122 ai2[iof+j] = 2*ai1[iof+j];
123 }
124 ar2[iof+j] = 2*ar1[iof+j];
125 }
126 iof += mnel1[i];
127 }
128 for ( i = 0 ; i < *m1 ; i++ )
129 mnel2[i]= mnel1[i];
130 for ( i = 0 ; i < *nel1 ; i++)
131 icol2[i] = icol1[i] ;
132 return(0);
133}
134
135
136
137
138/*******************************************
139 * Test for intersci with external sparse (spt10 in ex14fi.desc)
140 *
141 * a Sparse structure is defined in stack-c.h which can be used
142 * for storing external Sparse matrices which can be
143 * copied back to scilab sparse matrices ( by csparsef )
144 *
145 * if x is a Sparse object
146 * x.m : number of rows of x
147 * x,n : number of columns of x
148 * x.nel : number of non zero elements in x
149 * x.it : 0 or 1 i.e. real or complex matrix
150 * x.mnel[i],i=0,m-1 number of non zero elements in line i+1
151 *
152 * x.icol[j],j=0,nel-1 : column of (j+1)th non zero element of the matrix
153 * ( stored by rows )
154 * x.xr[j], ..... : real value of the (j+1)th non zero element
155 * x.xi[j], ..... : if x.it ==1 imaginary value of the (j+1)th
156 * non zero element
157 *
158 * NewSparse can be used to allocate a new Sparse object
159 *
160 * The Scilab internal coding is very similar
161 * and the following function copies a Scilab Sparse (it,m,n,nel,mnel,icol,ar,ai)
162 * into an allocated Sparse object
163 * and return the allocated Sparse and its dimensions
164 *
165 *
166 * the routine C2F(csparsef) (file routines/intersci/sparse.c)
167 * is used for back converstion from Sparse to Scilab sparse and
168 * and the Sparse object is freed in csparsef
169 *
170 *******************************************/
171
172#include "../../routines/intersci/libinter.h"
173
174int F2C(ext14ce)(it,m,n,nel,mnel,icol,ar,ai,x,mx,nx,nelx,itx,err)
175 int *n,*m,*it,*nel,*mnel,*icol;
176 double *ar,*ai;
177 SciSparse **x;
178 int *mx,*nx,*nelx,*itx;
179 int *err;
180{
181 int i,iof = 0, j;
182 *x = NewSparse(it,m,n,nel);
183 if ( *x == (SciSparse *) 0)
184 {
185 sciprint("No more space\n");
186 *err = 1;return;
187 }
188 *mx = *m ;
189 *nx = *n ;
190 *nelx = *nel;
191 *itx = *it;
192 *err=0;
193 for ( i = 0; i < *m ; i++)
194 {
195 for ( j = 0; j < mnel[i]; j++)
196 {
197 if (*it == 1)
198 {
199 (*x)->I[iof+j] = 2*ai[iof+j];
200 }
201 (*x)->R[iof+j] = 2*ar[iof+j];
202 }
203 iof += mnel[i];
204 }
205 for ( i = 0 ; i < *m ; i++ )
206 (*x)->mnel[i]= mnel[i];
207 for ( i = 0 ; i < *nel ; i++)
208 (*x)->icol[i] = icol[i] ;
209 return(0);
210}
211
212
diff --git a/scilab/modules/intersci/examples/ex14fi-l.list b/scilab/modules/intersci/examples/ex14fi-l.list
deleted file mode 100644
index aacf7e6..0000000
--- a/scilab/modules/intersci/examples/ex14fi-l.list
+++ /dev/null
@@ -1,3 +0,0 @@
11 mat
2mat sparse ma na nela ita
3******************************
diff --git a/scilab/modules/intersci/examples/ex14fi.desc b/scilab/modules/intersci/examples/ex14fi.desc
deleted file mode 100644
index 6b5a042..0000000
--- a/scilab/modules/intersci/examples/ex14fi.desc
+++ /dev/null
@@ -1,88 +0,0 @@
1spt1 a
2a sparse ma na nela ita
3
4ext14ca a
5a double
6
7out sequence a
8***********************
9spt2 a
10a sparse ma na nela ita
11
12ext14cc a
13a int
14
15out sequence a
16***********************
17spt3 a
18a sparse ma na nela ita
19
20ext14ca a
21a double
22
23out list a
24***********************
25spt4 a
26a sparse ma na nela ita
27b sparse ma na nela ita
28
29ext14cb a b
30a double
31b double
32
33out sequence b
34***********************
35spt5 a
36a sparse ma na nela ita
37b sparse ma na nela ita
38
39ext14cd a b
40a double
41b int
42
43out sequence b
44***********************
45spt6 a
46a sparse ma na nela ita
47b sparse ma na nela ita
48
49ext14cb a b
50a double
51b double
52
53out list b
54***********************
55spt7 a
56a list ex14fi-l
57
58ext14ca mat(a)
59mat(a) double
60
61out sequence mat(a)
62***********************
63spt8 a
64a list ex14fi-l
65
66ext14cc mat(a)
67mat(a) int
68
69out sequence mat(a)
70***********************
71spt9 a
72a list ex14fi-l
73
74ext14ca mat(a)
75mat(a) double
76
77out list mat(a)
78***********************
79spt10 a
80a sparse ma na nela ita
81b sparse mb nb nelb itb
82
83ext14ce a b mb nb nelb itb err
84a double
85b csparsef
86
87out sequence b
88***********************
diff --git a/scilab/modules/intersci/examples/ex15.sce b/scilab/modules/intersci/examples/ex15.sce
deleted file mode 100644
index ef54b42..0000000
--- a/scilab/modules/intersci/examples/ex15.sce
+++ /dev/null
@@ -1,77 +0,0 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) ????-2008 - INRIA
3//
4// This file must be used under the terms of the CeCILL.
5// This source file is licensed as described in the file COPYING, which
6// you should have received as part of this distribution. The terms
7// are also available at
8// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9
10
11//ex15 example
12//1-Creating interface source file
13// Making object files
14// Interface file '/tmp/ex15fi.o';
15// User's files '/tmp/ex15c.o';
16files=G_make(['/tmp/ex15fi.o','/tmp/ex15c.o';],'ex15.dll');
17//2-Link object files .o with addinter
18//addinter(files,'intex15',intex1_funs);
19exec('ex15fi.sce');
20//Run Scilab functions:
21a=[0,0,1.23;0,2.32,0;3.45,0,0];
22
23// simple matrix argument
24
25b=mat1(a);
26if norm(b- a) > %eps then pause,end
27
28// matrix argument + conversion to int
29
30b=mat2(a);
31if norm(b- int(a)) > %eps then pause,end
32
33// matrix and return a matrix in a list
34
35b=mat3(a);
36if norm(b(1)- a) > %eps then pause,end
37
38// new matrix in intersci
39
40b=mat4(a);
41if norm(b- 2*a) > %eps then pause,end
42
43// new matrix + conversion to int
44
45b=mat5(a);
46if norm(b- int(2*a)) > %eps then pause,end
47
48// new matrix returned in a list
49
50b=mat6(a);
51if norm(b(1)- 2*a) > %eps then pause,end
52
53// list argument with a matrix
54
55b=mat7(list(a));
56if norm(b- a) > %eps then pause,end
57
58// list argument + conversion
59
60b=mat8(list(a));
61if norm(b- int(a)) > %eps then pause,end
62
63// list argument + list output
64
65b=mat9(list(a));
66if norm(b(1)- a) > %eps then pause,end
67
68// cintf
69
70b=mat10();
71if norm(b'- (0:9)) > %eps then pause,end
72
73// cintf + list
74
75b=mat11();
76if norm(b(1)'- (0:9)) > %eps then pause,end
77
diff --git a/scilab/modules/intersci/examples/ex15c.c b/scilab/modules/intersci/examples/ex15c.c
deleted file mode 100644
index 8781973..0000000
--- a/scilab/modules/intersci/examples/ex15c.c
+++ /dev/null
@@ -1,94 +0,0 @@
1/*
2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) ????-2008 - INRIA
4 *
5 * This file must be used under the terms of the CeCILL.
6 * This source file is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at
9 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10 *
11 */
12
13
14#include "../../routines/machine.h"
15
16/*******************************************
17 * simple example with sparse matrix
18 * Display of a
19 *******************************************/
20
21int F2C(ext15ca)(ar,m,n)
22 double *ar;
23 int *n,*m;
24{
25
26}
27
28/*******************************************
29 * simple example with sparse matrix
30 * 2*a copied into b
31 *******************************************/
32
33int F2C(ext15cb)(ar1,ar2,m,n)
34 double *ar1,*ar2;
35 int *m,*n;
36{
37 int i;
38 for ( i = 0; i < *m*(*n) ; i++)
39 ar2[i] = 2*ar1[i];
40}
41
42/*******************************************
43 * same as ext15ca but ar and ai are integers
44 *******************************************/
45
46int F2C(ext15cc)(ar,m,n)
47 int *ar,*m,*n;
48{
49
50}
51
52
53/*******************************************
54 * same as ext15cb but ar2 and ai2 are integers
55 *
56 *******************************************/
57
58
59int F2C(ext15cd)(ar1,ar2,m,n)
60 int *ar1,*ar2;
61 int *m,*n;
62
63{
64 int i;
65 for ( i = 0; i < *m*(*n) ; i++)
66 ar2[i] = 2*ar1[i];
67}
68
69
70
71
72/*******************************************
73 * a is an external
74 *******************************************/
75
76
77int F2C(ext15ce)(ar1,m,n,err)
78 int **ar1;
79 int *m,*n,*err;
80{
81 int i;
82 *n=1;
83 *m=10;
84 *ar1 = (int *) malloc((unsigned) (*m)*sizeof(int));
85 if ( *ar1 == (int*) 0)
86 {
87 *err=1;
88 sciprint("No more space\n");
89 return;
90 }
91 *err=0;
92 for ( i = 0; i < *m*(*n) ; i++)
93 (*ar1)[i] = i;
94}
diff --git a/scilab/modules/intersci/examples/ex15fi-l.list b/scilab/modules/intersci/examples/ex15fi-l.list
deleted file mode 100644
index e38c272..0000000
--- a/scilab/modules/intersci/examples/ex15fi-l.list
+++ /dev/null
@@ -1,3 +0,0 @@
11 mat
2mat matrix ma na
3******************************
diff --git a/scilab/modules/intersci/examples/ex15fi.desc b/scilab/modules/intersci/examples/ex15fi.desc
deleted file mode 100644
index d0e581d..0000000
--- a/scilab/modules/intersci/examples/ex15fi.desc
+++ /dev/null
@@ -1,98 +0,0 @@
1mat1 a
2a matrix ma na
3
4ext15ca a ma na
5a double
6
7out sequence a
8***********************
9mat2 a
10a matrix ma na
11
12ext15cc a ma na
13a int
14
15out sequence a
16***********************
17mat3 a
18a matrix ma na
19
20ext15ca a ma na
21a double
22
23out list a
24***********************
25mat4 a
26a matrix ma na
27b matrix ma na
28
29ext15cb a b ma na
30a double
31b double
32
33out sequence b
34***********************
35mat5 a
36a matrix ma na
37b matrix ma na
38
39ext15cd a b ma na
40a int
41b int
42
43out sequence b
44***********************
45mat6 a
46a matrix ma na
47b matrix ma na
48
49ext15cb a b ma na
50a double
51b double
52
53out list b
54***********************
55mat7 a
56a list ex15fi-l
57
58ext15ca mat(a) ma(a) na(a)
59mat(a) double
60
61out sequence mat(a)
62***********************
63mat8 a
64a list ex15fi-l
65
66ext15cc mat(a) ma(a) na(a)
67mat(a) int
68
69out sequence mat(a)
70***********************
71mat9 a
72a list ex15fi-l
73
74ext15ca mat(a) ma(a) na(a)
75mat(a) double
76
77out list mat(a)
78***********************
79mat10
80a matrix ma na
81
82ext15ce a ma na err
83a cintf
84ma int
85na int
86
87out sequence a
88***********************
89mat11
90a matrix ma na
91
92ext15ce a ma na err
93a cintf
94ma int
95na int
96
97out list a
98***********************
diff --git a/scilab/modules/intersci/examples/ex15fi.fundef b/scilab/modules/intersci/examples/ex15fi.fundef
deleted file mode 100644
index 160aae9..0000000
--- a/scilab/modules/intersci/examples/ex15fi.fundef
+++ /dev/null
@@ -1,12 +0,0 @@
1#define IN_ex15fi 14
2{"mat1", IN_ex15fi, 1, 3},
3{"mat2", IN_ex15fi, 2, 3},
4{"mat3", IN_ex15fi, 3, 3},
5{"mat4", IN_ex15fi, 4, 3},
6{"mat5", IN_ex15fi, 5, 3},
7{"mat6", IN_ex15fi, 6, 3},
8{"mat7", IN_ex15fi, 7, 3},
9{"mat8", IN_ex15fi, 8, 3},
10{"mat9", IN_ex15fi, 9, 3},
11{"mat10", IN_ex15fi, 10, 3},
12{"mat11", IN_ex15fi, 11, 3},
diff --git a/scilab/modules/intersci/examples/ex16.sce b/scilab/modules/intersci/examples/ex16.sce
deleted file mode 100644
index 1af54a3c..0000000
--- a/scilab/modules/intersci/examples/ex16.sce
+++ /dev/null
@@ -1,64 +0,0 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) ????-2008 - INRIA
3//
4// This file must be used under the terms of the CeCILL.
5// This source file is licensed as described in the file COPYING, which
6// you should have received as part of this distribution. The terms
7// are also available at
8// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9
10
11//ex16 example ( boolean matrices )
12//1-Creating interface source file
13// Making object files
14// Interface file '/tmp/ex16fi.o';
15// User's files '/tmp/ex16c.o';
16files=G_make(['/tmp/ex16fi.o','/tmp/ex16c.o';],'ex16.dll');
17//2-Link object files .o with addinter
18//addinter(files,'intex16',intex1_funs);
19exec('ex16fi.sce');
20//Run Scilab functions:
21a=[%t,%t;%f,%f];
22
23// simple matrix argument
24
25b=ext16ca(a);
26if b<>~a then pause,end
27
28// matrix and return a matrix in a list
29
30b=ext16cb(a);
31if b(1)<>~a then pause,end
32
33// new matrix in intersci
34
35b=ext16cc(a);
36if b<>~a then pause,end
37
38// new matrix returned in a list
39
40b=ext16cd(a);
41if b(1)<>~a then pause,end
42
43// list argument with a matrix
44
45b=ext16ce(list(a))
46if b<>~a then pause,end
47
48// list argument + list output
49
50b=ext16cf(list(a))
51if b(1)<>~a then pause,end
52
53// cboolf
54
55b=ext16cg();
56if b<>[%f,%t;%t,%f;%f,%t] then pause,end
57
58// cboolf + list
59
60b=ext16ch();
61if b(1)<>[%f,%t;%t,%f;%f,%t] then pause,end
62
63
64
diff --git a/scilab/modules/intersci/examples/ex16c.c b/scilab/modules/intersci/examples/ex16c.c
deleted file mode 100644
index 436ef76..0000000
--- a/scilab/modules/intersci/examples/ex16c.c
+++ /dev/null
@@ -1,66 +0,0 @@
1/*
2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) ????-2008 - INRIA
4 *
5 * This file must be used under the terms of the CeCILL.
6 * This source file is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at
9 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10 *
11 */
12
13
14#include "../../routines/machine.h"
15
16/*******************************************
17 * simple example with sparse matrix
18 * Display of a
19 *******************************************/
20
21int F2C(ext16ca)(ar,m,n)
22 int *ar;
23 int *n,*m;
24{
25 int i;
26 for ( i=0; i < (*m)*(*n) ; i++) ar[i]= (ar[i]==1)? 0:1;
27}
28
29/*******************************************
30 * simple example with sparse matrix
31 * 2*a copied into b
32 *******************************************/
33
34int F2C(ext16cb)(ar1,ar2,m,n)
35 int *ar1,*ar2;
36 int *m,*n;
37{
38 int i;
39 for ( i = 0; i < *m*(*n) ; i++) ar2[i] = (ar1[i]==1)? 0:1;
40}
41
42
43/*******************************************
44 * a is an external
45 *******************************************/
46
47
48int F2C(ext16ce)(ar1,m,n,err)
49 int **ar1;
50 int *m,*n,*err;
51{
52 int i,j;
53 *n=2;
54 *m=3;
55 *ar1 = (int *) malloc((unsigned) (*m)*(*n)*sizeof(int));
56 if ( *ar1 == (int*) 0)
57 {
58 *err=1;
59 sciprint("No more space\n");
60 return;
61 }
62 *err=0;
63 for ( i = 0; i < (*n) ; i++)
64 for ( j = 0; j < (*m) ; j++)
65 (*ar1)[i+(*n)*j] = i ;
66}
diff --git a/scilab/modules/intersci/examples/ex16fi-l.list b/scilab/modules/intersci/examples/ex16fi-l.list
deleted file mode 100644
index 910bfa3..0000000
--- a/scilab/modules/intersci/examples/ex16fi-l.list
+++ /dev/null
@@ -1,3 +0,0 @@
11 mat
2mat bmatrix ma na
3******************************
diff --git a/scilab/modules/intersci/examples/ex16fi.desc b/scilab/modules/intersci/examples/ex16fi.desc
deleted file mode 100644
index 379ccbd..0000000
--- a/scilab/modules/intersci/examples/ex16fi.desc
+++ /dev/null
@@ -1,72 +0,0 @@
1ext16ca a
2a bmatrix ma na
3
4ext16ca a ma na
5a int
6
7out sequence a
8***********************
9ext16cb a
10a bmatrix ma na
11
12ext16ca a ma na
13a int
14
15out list a
16***********************
17ext16cc a
18a bmatrix ma na
19b bmatrix ma na
20
21ext16cb a b ma na
22a int
23b int
24
25out sequence b
26***********************
27ext16cd a
28a bmatrix ma na
29b bmatrix ma na
30
31ext16cb a b ma na
32a int
33b int
34
35out list b
36***********************
37ext16ce a
38a list ex16fi-l
39
40ext16ca mat(a) ma(a) na(a)
41mat(a) int
42
43out sequence mat(a)
44***********************
45ext16cf a
46a list ex16fi-l
47
48ext16ca mat(a) ma(a) na(a)
49mat(a) int
50
51out list mat(a)
52***********************
53ext16cg
54a bmatrix ma na
55
56ext16ce a ma na err
57a cboolf
58ma int
59na int
60
61out sequence a
62***********************
63ext16ch
64a bmatrix ma na
65
66ext16ce a ma na err
67a cboolf
68ma int
69na int
70
71out list a
72***********************
diff --git a/scilab/modules/intersci/examples/ex1c.c b/scilab/modules/intersci/examples/ex1c.c
deleted file mode 100644
index 550be3d..0000000
--- a/scilab/modules/intersci/examples/ex1c.c
+++ /dev/null
@@ -1,24 +0,0 @@
1/*
2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) ????-2008 - INRIA
4 * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
5 *
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 */
13
14
15#include "../../routines/machine.h"
16
17int F2C(ext1c)(int *n, double *a, double *b, double *c)
18{
19 int k;
20 for (k = 0; k < *n; ++k)
21 c[k] = a[k] + b[k];
22 return(0);
23}
24
diff --git a/scilab/modules/intersci/examples/ex1fi.desc b/scilab/modules/intersci/examples/ex1fi.desc
deleted file mode 100644
index 5768a55..0000000
--- a/scilab/modules/intersci/examples/ex1fi.desc
+++ /dev/null
@@ -1,13 +0,0 @@
1ext1c a b
2a vector m
3b vector m
4c vector m
5
6ext1c m a b c
7m integer
8a double
9b double
10c double
11
12out sequence c
13***********************
diff --git a/scilab/modules/intersci/examples/ex2.sce b/scilab/modules/intersci/examples/ex2.sce
deleted file mode 100644
index 5ef3153..0000000
--- a/scilab/modules/intersci/examples/ex2.sce
+++ /dev/null
@@ -1,28 +0,0 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) ????-2008 - INRIA
3//
4// This file must be used under the terms of the CeCILL.
5// This source file is licensed as described in the file COPYING, which
6// you should have received as part of this distribution. The terms
7// are also available at
8// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9
10
11//ex2 example
12//1-Creating interface source file
13// from intex2.desc file by call to intersci (see Makefile)
14// Making object files
15// Interface file '/tmp/ex2fi.o'
16// User's files ['/tmp/ex2f.o']
17files=G_make(['/tmp/ex2fi.o','/tmp/ex2f.o'],'ex2.dll');
18//2-Link object files .o with addinter
19//addinter(files,'intex2',intex2_funs);
20exec('ex2fi.sce');
21//Run Scilab functions:
22a=1:20;b=1:10;
23d=som(a=1:20,b=1:10);
24d1=ones(1,10) + a(1:10)+b(1:10);
25if norm(d-d1') > %eps then pause,end;
26
27
28
diff --git a/scilab/modules/intersci/examples/ex2f.f b/scilab/modules/intersci/examples/ex2f.f
deleted file mode 100644
index d585b31..0000000
--- a/scilab/modules/intersci/examples/ex2f.f
+++ /dev/null
@@ -1,18 +0,0 @@
1c Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2c Copyright (C) ????-2008 - INRIA
3c
4c This file must be used under the terms of the CeCILL.
5c This source file is licensed as described in the file COPYING, which
6c you should have received as part of this distribution. The terms
7c are also available at
8c http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9 subroutine fsom(a,n,b,m,c)
10 real a(*),b(*),c(*)
11 kk=min(n,m)
12 do 2 k=1,m
13 2 c(k)=1.0
14 do 1 k=1,kk
15 1 c(k)=c(k)+b(k)+a(k)
16 end
17
18
diff --git a/scilab/modules/intersci/examples/ex2fi.desc b/scilab/modules/intersci/examples/ex2fi.desc
deleted file mode 100644
index 1fdf2bb..0000000
--- a/scilab/modules/intersci/examples/ex2fi.desc
+++ /dev/null
@@ -1,14 +0,0 @@
1som a b
2a row m
3b row n
4c column n
5
6fsom a n b m c
7a real
8n integer
9b real
10m integer
11c real
12
13out sequence c
14***********************
diff --git a/scilab/modules/intersci/examples/ex3.sce b/scilab/modules/intersci/examples/ex3.sce
deleted file mode 100644
index 4201b76..0000000
--- a/scilab/modules/intersci/examples/ex3.sce
+++ /dev/null
@@ -1,28 +0,0 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) ????-2008 - INRIA
3//
4// This file must be used under the terms of the CeCILL.
5// This source file is licensed as described in the file COPYING, which
6// you should have received as part of this distribution. The terms
7// are also available at
8// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9
10
11//daxpy example
12//1-Creating interface source file
13// from ex3fi.desc file by call to intersci (see Makefile)
14// Making object files
15// Interface file '/tmp/ex3fi.o'
16// User's files [];
17files=G_make(['/tmp/ex3fi.o'],'ex3.dll');
18//2-Link object files .o with addinter
19//addinter(files,'daxpy',ex3fi_funs);
20exec('ex3fi.sce');
21//Run Scilab functions:
22n=3;a=13;incx=2;incy=3;x=1:10;y=2*x;
23ynew=scilabdaxpy(n,a,x,incx,y,incy);
24y(1:incy:n*incy)=y(1:incy:n*incy)+a*x(1:incx:n*incx);
25if norm(ynew-y) > %eps then pause,end
26
27
28
diff --git a/scilab/modules/intersci/examples/ex3fi.desc b/scilab/modules/intersci/examples/ex3fi.desc
deleted file mode 100644
index bef1635..0000000
--- a/scilab/modules/intersci/examples/ex3fi.desc
+++ /dev/null
@@ -1,18 +0,0 @@
1scilabdaxpy n a x incx y incy
2n scalar
3a scalar
4x vector nx
5incx scalar
6y vector ny
7incy scalar
8
9daxpy n a x incx y incy
10n int
11a double
12x double
13incx int
14y double
15incy int
16
17out sequence y
18*********************
diff --git a/scilab/modules/intersci/examples/ex4.sce b/scilab/modules/intersci/examples/ex4.sce
deleted file mode 100644
index 37aa315..0000000
--- a/scilab/modules/intersci/examples/ex4.sce
+++ /dev/null
@@ -1,28 +0,0 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) ????-2008 - INRIA
3//
4// This file must be used under the terms of the CeCILL.
5// This source file is licensed as described in the file COPYING, which
6// you should have received as part of this distribution. The terms
7// are also available at
8// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9
10
11//ex4 example
12//1-Creating interface source file
13// from intex4.desc file by call to intersci (see Makefile)
14// Making object files
15// Interface file '/tmp/ex4fi.o'
16// User's files '/tmp/ex4f.o';
17files=G_make(['/tmp/ex4fi.o','/tmp/ex4f.o'],'ex4.dll');
18//2-Link object files .o with addinter
19//addinter(files,'intex4',intex4_funs);
20exec('ex4fi.sce');
21//Run Scilab functions:
22sys=ssrand(2,2,3,list('co',1));
23n=contrb(sys,0.01)
24if n <> 1 then pause,end
25
26
27
28
diff --git a/scilab/modules/intersci/examples/ex4f.f b/scilab/modules/intersci/examples/ex4f.f
deleted file mode 100644
index ab15619..0000000
--- a/scilab/modules/intersci/examples/ex4f.f
+++ /dev/null
@@ -1,40 +0,0 @@
1c Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2c Copyright (C) ????-2008 - INRIA
3c
4c This file must be used under the terms of the CeCILL.
5c This source file is licensed as described in the file COPYING, which
6c you should have received as part of this distribution. The terms
7c are also available at
8c http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9 subroutine contr(nstate,nin,a,b,icontr,tol)
10c computes the order of controllablility of a state-space representation
11 double precision a(nstate,*),b(nstate,*)
12 double precision tol
13 integer nstate,nin,icontr
14c
15 double precision w(200)
16 integer iw(20)
17c
18 lz=1
19 lwrka=lz+nstate*nstate
20 lwrk1=lwrka+nstate*nin
21 lwrk2=lwrk1+nin
22 lw=lwrk2+nin
23 if(lw.gt.200) then
24 call erro('Too big system')
25 return
26 endif
27
28 lnblk=1
29 liwrk=lnblk+nstate
30 lw=liwrk+nin
31 if(lw.gt.20) then
32 call erro('Too big system')
33 return
34 endif
35
36 call ssxmc(nstate,nin,a,nstate,b,icontr,indcon,iw(lnblk),
37 1 w(lz),w(lwrka), w(lwrk1), w(lwrk2),iw(liwrk),
38 2 tol,0)
39 return
40 end
diff --git a/scilab/modules/intersci/examples/ex4fi-l.list b/scilab/modules/intersci/examples/ex4fi-l.list
deleted file mode 100644
index 60eac1e..0000000
--- a/scilab/modules/intersci/examples/ex4fi-l.list
+++ /dev/null
@@ -1,24 +0,0 @@
11 type
2type string 3
3******************************
42 state matrix
5a matrix nstate nstate
6******************************
73 input matrix
8b matrix nstate nin
9******************************
104 output matrix
11c matrix nout nstate
12******************************
135 direct tranfert matrix
14d matrix nout nin
15******************************
166 initial state
17x0 column nstate
18******************************
197 time domain
20t any
21******************************
228 names
23names string 4
24******************************
diff --git a/scilab/modules/intersci/examples/ex4fi.desc b/scilab/modules/intersci/examples/ex4fi.desc
deleted file mode 100644
index d3b9339..0000000
--- a/scilab/modules/intersci/examples/ex4fi.desc
+++ /dev/null
@@ -1,15 +0,0 @@
1contrb sys tol
2tol scalar
3sys list ex4fi-l
4icontr scalar
5
6contr nstate(sys) nin(sys) a(sys) b(sys) icontr tol
7a(sys) double
8b(sys) double
9tol double
10nstate(sys) integer
11nin(sys) integer
12icontr integer
13
14out sequence icontr
15******************************
diff --git a/scilab/modules/intersci/examples/ex5.sce b/scilab/modules/intersci/examples/ex5.sce
deleted file mode 100644
index 4da5412..0000000
--- a/scilab/modules/intersci/examples/ex5.sce
+++ /dev/null
@@ -1,26 +0,0 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) ????-2008 - INRIA
3//
4// This file must be used under the terms of the CeCILL.
5// This source file is licensed as described in the file COPYING, which
6// you should have received as part of this distribution. The terms
7// are also available at
8// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9
10
11//foobar example
12//1-Creating interface source file
13// from ex5fi.desc file by call to intersci (see Makefile)
14//2-Making object files
15// Interface file '/tmp/ex5fi.o'
16// User's files '/tmp/ex5f.o';
17files=G_make(['/tmp/ex5fi.o','/tmp/ex5f.o'],'ex5.dll');
18//2-Link object files .o with addinter
19//addinter(files,'foobar',ex5fi_funs);
20exec('ex5fi.sce');
21//Run Scilab functions:
22a=1:5;b=-a;c=ones(3,3);
23[a,b,c,d]=foobar('mul',a,b,c)
24[a,b,c,d]=foobar('add',a,b,c)
25
26
diff --git a/scilab/modules/intersci/examples/ex5f.f b/scilab/modules/intersci/examples/ex5f.f
deleted file mode 100644
index 9c2232b..0000000
--- a/scilab/modules/intersci/examples/ex5f.f
+++ /dev/null
@@ -1,61 +0,0 @@
1c Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2c Copyright (C) ????-2008 - INRIA
3c
4c This file must be used under the terms of the CeCILL.
5c This source file is licensed as described in the file COPYING, which
6c you should have received as part of this distribution. The terms
7c are also available at
8c http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9 subroutine foubare2(ch,a,ia,b,ib,c,mc,nc,d,w)
10c -----------------------------------------
11c ----------- EXAMPLE -----------------
12c inputs: ch, a,b and c; ia,ib and mc,nc
13c ch=character, a=integer, b=real and c=double
14c ia,ib and [mc,nc] are the dimensions of a,b and c resp.
15c outputs: a,b,c,d
16c if ch='mul' a,b and c = 2 * (a,b and c)
17c and d of same dimensions as c with
18c d(i,j)=(i+j)*c(i,j)
19c if ch='add' a,b and c = 2 + (a,b and c)
20c d(i,j)=(i+j)+c(i,j)
21c w is a working array of size [mc,nc]
22c -------------------------------------------
23 character*(*) ch
24 integer a(*)
25 real b(*)
26 double precision c(mc,*),d(mc,*),w(mc,*)
27 if(ch(1:3).eq.'mul') then
28 do 1 k=1,ia
29 a(k)=2*a(k)
30 1 continue
31 do 2 k=1,ib
32 b(k)=2.0*b(k)
33 2 continue
34 do 3 i=1,mc
35 do 3 j=1,nc
36 c(i,j)=2.0d0*c(i,j)
37 3 continue
38 do 4 i=1,mc
39 do 4 j=1,nc
40 w(i,j)=dble(i+j)
41 d(i,j)=w(i,j)*c(i,j)
42 4 continue
43 elseif(ch(1:3).eq.'add') then
44 do 10 k=1,ia
45 a(k)=2+a(k)
46 10 continue
47 do 20 k=1,ib
48 b(k)=2.0+b(k)
49 20 continue
50 do 30 i=1,mc
51 do 30 j=1,nc
52 c(i,j)=2.0d0+c(i,j)
53 30 continue
54 do 40 i=1,mc
55 do 40 j=1,nc
56 w(i,j)=dble(i+j)
57 d(i,j)=w(i,j)+c(i,j)
58 40 continue
59 endif
60 end
61
diff --git a/scilab/modules/intersci/examples/ex5fi.desc b/scilab/modules/intersci/examples/ex5fi.desc
deleted file mode 100644
index 54453ee..0000000
--- a/scilab/modules/intersci/examples/ex5fi.desc
+++ /dev/null
@@ -1,22 +0,0 @@
1foobar ch a b c
2ch string nch
3a vector ma
4b row mb
5c matrix mc nc
6d matrix mc nc
7w matrix mc nc
8
9foubare2 ch a ma b mb c mc nc d w
10ch char
11a int
12ma int
13b real
14mb int
15c double
16mc int
17nc int
18d double
19w double
20
21out sequence a b c d
22***************************
diff --git a/scilab/modules/intersci/examples/ex6.sce b/scilab/modules/intersci/examples/ex6.sce
deleted file mode 100644
index 721b34c..0000000
--- a/scilab/modules/intersci/examples/ex6.sce
+++ /dev/null
@@ -1,37 +0,0 @@
1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) ????-2008 - INRIA
3//
4// This file must be used under the terms of the CeCILL.
5// This source file is licensed as described in the file COPYING, which
6// you should have received as part of this distribution. The terms
7// are also available at
8// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9
10
11//1-Creating interface source file
12// from ex6fi.desc file by call to intersci (see Makefile)
13//2-Making object files
14// Interface file '/tmp/ex6fi.o'
15// User's files '/tmp/ex6c.o';
16files=G_make(['/tmp/ex6fi.o','/tmp/ex6c.o'],'ex6.dll');
17//2-Link object files .o with addinter
18//addinter(files,'ex6fi',matusr_funs);
19exec('ex6fi.sce');
20//Test Scilab functions:
21
22//calc4: input: matrix of character string
23// output: matrix of character string (C function ccalc4)
24w=['this' 'is'; 'naw' 'gaad']
25rep=calc6a(w);
26if rep<>['this' 'is'; 'now' 'good'] then pause,end;
27
28//calc5: creation of a character string matrix.
29a=calc6b();
30a1='char '; a1=matrix(a1(ones(1,6))+string(0:5),3,2);
31if a<>a1 then pause,end
32
33
34
35
36
37
diff --git a/scilab/modules/intersci/examples/ex6c.c b/scilab/modules/intersci/examples/ex6c.c
deleted file mode 100644
index 0173c09..0000000
--- a/scilab/modules/intersci/examples/ex6c.c
+++ /dev/null
@@ -1,77 +0,0 @@
1/*
2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) ????-2008 - INRIA
4 *
5 * This file must be used under the terms of the CeCILL.
6 * This source file is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at
9 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10 *
11 */
12
13#include "../../routines/machine.h"
14#include <stdlib.h>
15
16/*************************************************************
17 * Example of a dynamically allocated array of character created here.
18 * Its size is sent back as an output.
19 * It is converted into Scilab variable in the interface program.
20 * The allocated array is freed.
21 * the Scilab variable is of type stringmat and is not in the argument list of the scilab
22 * function. The Fortran type is Cstringv
23 *************************************************************/
24
25C2F(ccalc6b)(a,m,n,err)
26 char ***a;
27 int *m,*n,*err;
28{
29 int i,nstring;
30 *m=3;
31 *n=2;
32 nstring= (*m)*(*n);
33 *a =(char **) malloc((unsigned) (nstring * sizeof(char *)));
34 if ( *a ==0)