Linux: enforce a c++17 compiler usage
[scilab.git] / scilab / modules / demo_tools / Makefile.in
1 # Makefile.in generated by automake 1.16.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
5
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
18 # Copyright (C) 2007 - INRIA - Pierre MARECHAL
19 #
20 # This file is distributed under the same license as the Scilab package.
21
22 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
23 # Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
24 # Copyright (C) 2008      - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
25 #
26 # Copyright (C) 2012 - 2016 - Scilab Enterprises
27 #
28 # This file is hereby licensed under the terms of the GNU GPL v2.0,
29 # pursuant to article 5.3.4 of the CeCILL v.2.1.
30 # This file was originally licensed under the terms of the CeCILL v2.1,
31 # and continues to be available under such terms.
32 # For more information, see the COPYING file which you should have received
33 # along with this program.
34 #
35
36 ##########
37 ### Makefile included stuff
38 ### Target, variable, suffixes which are supposed to be useful in every makefile.am
39 ##########
40
41 VPATH = @srcdir@
42 am__is_gnu_make = { \
43   if test -z '$(MAKELEVEL)'; then \
44     false; \
45   elif test -n '$(MAKE_HOST)'; then \
46     true; \
47   elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
48     true; \
49   else \
50     false; \
51   fi; \
52 }
53 am__make_running_with_option = \
54   case $${target_option-} in \
55       ?) ;; \
56       *) echo "am__make_running_with_option: internal error: invalid" \
57               "target option '$${target_option-}' specified" >&2; \
58          exit 1;; \
59   esac; \
60   has_opt=no; \
61   sane_makeflags=$$MAKEFLAGS; \
62   if $(am__is_gnu_make); then \
63     sane_makeflags=$$MFLAGS; \
64   else \
65     case $$MAKEFLAGS in \
66       *\\[\ \   ]*) \
67         bs=\\; \
68         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
69           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
70     esac; \
71   fi; \
72   skip_next=no; \
73   strip_trailopt () \
74   { \
75     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
76   }; \
77   for flg in $$sane_makeflags; do \
78     test $$skip_next = yes && { skip_next=no; continue; }; \
79     case $$flg in \
80       *=*|--*) continue;; \
81         -*I) strip_trailopt 'I'; skip_next=yes;; \
82       -*I?*) strip_trailopt 'I';; \
83         -*O) strip_trailopt 'O'; skip_next=yes;; \
84       -*O?*) strip_trailopt 'O';; \
85         -*l) strip_trailopt 'l'; skip_next=yes;; \
86       -*l?*) strip_trailopt 'l';; \
87       -[dEDm]) skip_next=yes;; \
88       -[JT]) skip_next=yes;; \
89     esac; \
90     case $$flg in \
91       *$$target_option*) has_opt=yes; break;; \
92     esac; \
93   done; \
94   test $$has_opt = yes
95 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
96 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
97 pkgdatadir = $(datadir)/@PACKAGE@
98 pkgincludedir = $(includedir)/@PACKAGE@
99 pkglibdir = $(libdir)/@PACKAGE@
100 pkglibexecdir = $(libexecdir)/@PACKAGE@
101 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
102 install_sh_DATA = $(install_sh) -c -m 644
103 install_sh_PROGRAM = $(install_sh) -c
104 install_sh_SCRIPT = $(install_sh) -c
105 INSTALL_HEADER = $(INSTALL_DATA)
106 transform = $(program_transform_name)
107 NORMAL_INSTALL = :
108 PRE_INSTALL = :
109 POST_INSTALL = :
110 NORMAL_UNINSTALL = :
111 PRE_UNINSTALL = :
112 POST_UNINSTALL = :
113 build_triplet = @build@
114 host_triplet = @host@
115 @NEED_JAVA_TRUE@am__append_1 = java
116 subdir = modules/demo_tools
117 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
118 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
119         $(top_srcdir)/m4/backtrace.m4 $(top_srcdir)/m4/compiler.m4 \
120         $(top_srcdir)/m4/curl.m4 $(top_srcdir)/m4/docbook.m4 \
121         $(top_srcdir)/m4/doxygen.m4 $(top_srcdir)/m4/eigen.m4 \
122         $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
123         $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
124         $(top_srcdir)/m4/intel_compiler.m4 \
125         $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
126         $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
127         $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
128         $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
129         $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
130         $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
131         $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \
132         $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \
133         $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \
134         $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \
135         $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac
136 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
137         $(ACLOCAL_M4)
138 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
139 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
140 CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
141 CONFIG_CLEAN_FILES =
142 CONFIG_CLEAN_VPATH_FILES =
143 AM_V_P = $(am__v_P_@AM_V@)
144 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
145 am__v_P_0 = false
146 am__v_P_1 = :
147 AM_V_GEN = $(am__v_GEN_@AM_V@)
148 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
149 am__v_GEN_0 = @echo "  GEN     " $@;
150 am__v_GEN_1 = 
151 AM_V_at = $(am__v_at_@AM_V@)
152 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
153 am__v_at_0 = @
154 am__v_at_1 = 
155 SOURCES =
156 DIST_SOURCES =
157 am__can_run_installinfo = \
158   case $$AM_UPDATE_INFO_DIR in \
159     n|no|NO) false;; \
160     *) (install-info --version) >/dev/null 2>&1;; \
161   esac
162 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
163 am__vpath_adj = case $$p in \
164     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
165     *) f=$$p;; \
166   esac;
167 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
168 am__install_max = 40
169 am__nobase_strip_setup = \
170   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
171 am__nobase_strip = \
172   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
173 am__nobase_list = $(am__nobase_strip_setup); \
174   for p in $$list; do echo "$$p $$p"; done | \
175   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
176   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
177     if (++n[$$2] == $(am__install_max)) \
178       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
179     END { for (dir in files) print dir, files[dir] }'
180 am__base_list = \
181   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
182   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
183 am__uninstall_files_from_dir = { \
184   test -z "$$files" \
185     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
186     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
187          $(am__cd) "$$dir" && rm -f $$files; }; \
188   }
189 am__installdirs = "$(DESTDIR)$(libdemo_tools_la_etcdir)" \
190         "$(DESTDIR)$(libdemo_tools_la_guidir)" \
191         "$(DESTDIR)$(libdemo_tools_la_imagesdir)" \
192         "$(DESTDIR)$(libdemo_tools_la_rootdir)"
193 DATA = $(libdemo_tools_la_etc_DATA) $(libdemo_tools_la_gui_DATA) \
194         $(libdemo_tools_la_images_DATA) $(libdemo_tools_la_root_DATA)
195 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
196 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am \
197         $(top_srcdir)/config/mkinstalldirs
198 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
199 ACLOCAL = @ACLOCAL@
200 ALL_LINGUAS = @ALL_LINGUAS@
201 ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
202 AMTAR = @AMTAR@
203 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
204 ANT = @ANT@
205 ANTLR = @ANTLR@
206 AR = @AR@
207 ARPACK_LIBS = @ARPACK_LIBS@
208 ASM3 = @ASM3@
209 AUTOCONF = @AUTOCONF@
210 AUTOHEADER = @AUTOHEADER@
211 AUTOMAKE = @AUTOMAKE@
212 AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
213 AWK = @AWK@
214 BATIK = @BATIK@
215 BLAS_CFLAGS = @BLAS_CFLAGS@
216 BLAS_LIBS = @BLAS_LIBS@
217 CC = @CC@
218 CCACHE = @CCACHE@
219 CCDEPMODE = @CCDEPMODE@
220 CFLAGS = @CFLAGS@
221 CHECKSTYLE = @CHECKSTYLE@
222 COBERTURA = @COBERTURA@
223 COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
224 COMMONS_IO = @COMMONS_IO@
225 COMMONS_LOGGING = @COMMONS_LOGGING@
226 CPP = @CPP@
227 CPPFLAGS = @CPPFLAGS@
228 CURL_CFLAGS = @CURL_CFLAGS@
229 CURL_CONFIG = @CURL_CONFIG@
230 CURL_LIBS = @CURL_LIBS@
231 CURL_VERSION = @CURL_VERSION@
232 CXX = @CXX@
233 CXXCPP = @CXXCPP@
234 CXXDEPMODE = @CXXDEPMODE@
235 CXXFLAGS = @CXXFLAGS@
236 CYGPATH_W = @CYGPATH_W@
237 DEFS = @DEFS@
238 DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
239 DEPDIR = @DEPDIR@
240 DLLTOOL = @DLLTOOL@
241 DOCBOOK_ROOT = @DOCBOOK_ROOT@
242 DOXYGEN_BIN = @DOXYGEN_BIN@
243 DSYMUTIL = @DSYMUTIL@
244 DUMPBIN = @DUMPBIN@
245 ECHO_C = @ECHO_C@
246 ECHO_N = @ECHO_N@
247 ECHO_T = @ECHO_T@
248 ECJ = @ECJ@
249 EGREP = @EGREP@
250 EIGEN_CPPFLAGS = @EIGEN_CPPFLAGS@
251 EXEEXT = @EXEEXT@
252 F77 = @F77@
253 FFLAGS = @FFLAGS@
254 FFTW3_LIB = @FFTW3_LIB@
255 FFTW_ENABLE = @FFTW_ENABLE@
256 FGREP = @FGREP@
257 FLEXDOCK = @FLEXDOCK@
258 FLIBS = @FLIBS@
259 FOP = @FOP@
260 FREEHEP_GRAPHICS2D = @FREEHEP_GRAPHICS2D@
261 FREEHEP_GRAPHICSIO = @FREEHEP_GRAPHICSIO@
262 FREEHEP_GRAPHICSIO_EMF = @FREEHEP_GRAPHICSIO_EMF@
263 FREEHEP_IO = @FREEHEP_IO@
264 FREEHEP_UTIL = @FREEHEP_UTIL@
265 GENHTML = @GENHTML@
266 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
267 GIWS_BIN = @GIWS_BIN@
268 GLUEGEN2_RT = @GLUEGEN2_RT@
269 GMSGFMT = @GMSGFMT@
270 GMSGFMT_015 = @GMSGFMT_015@
271 GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
272 GREP = @GREP@
273 GUI_ENABLE = @GUI_ENABLE@
274 HAMCREST = @HAMCREST@
275 HAVE_CXX17 = @HAVE_CXX17@
276 HDF5_CFLAGS = @HDF5_CFLAGS@
277 HDF5_LIBS = @HDF5_LIBS@
278 HELP_ENABLE = @HELP_ENABLE@
279 INSTALL = @INSTALL@
280 INSTALL_DATA = @INSTALL_DATA@
281 INSTALL_PROGRAM = @INSTALL_PROGRAM@
282 INSTALL_SCRIPT = @INSTALL_SCRIPT@
283 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
284 INTLLIBS = @INTLLIBS@
285 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
286 JAR = @JAR@
287 JAVA = @JAVA@
288 JAVAC = @JAVAC@
289 JAVAC_DEBUG = @JAVAC_DEBUG@
290 JAVADOC = @JAVADOC@
291 JAVAH = @JAVAH@
292 JAVASCI_ENABLE = @JAVASCI_ENABLE@
293 JAVA_ENABLE = @JAVA_ENABLE@
294 JAVA_G = @JAVA_G@
295 JAVA_HOME = @JAVA_HOME@
296 JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
297 JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
298 JDB = @JDB@
299 JEUCLID_CORE = @JEUCLID_CORE@
300 JGRAPHX = @JGRAPHX@
301 JHALL = @JHALL@
302 JLATEXMATH = @JLATEXMATH@
303 JLATEXMATH_FOP = @JLATEXMATH_FOP@
304 JOGL2 = @JOGL2@
305 JROSETTA_API = @JROSETTA_API@
306 JROSETTA_ENGINE = @JROSETTA_ENGINE@
307 JUNIT4 = @JUNIT4@
308 LAPACK_LIBS = @LAPACK_LIBS@
309 LCOV = @LCOV@
310 LD = @LD@
311 LDFLAGS = @LDFLAGS@
312 LEX = @LEX@
313 LEXLIB = @LEXLIB@
314 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
315 LIBICONV = @LIBICONV@
316 LIBINTL = @LIBINTL@
317 LIBM = @LIBM@
318 LIBOBJS = @LIBOBJS@
319 LIBS = @LIBS@
320 LIBTOOL = @LIBTOOL@
321 LIPO = @LIPO@
322 LN_S = @LN_S@
323 LOGGING_LEVEL = @LOGGING_LEVEL@
324 LOOKS = @LOOKS@
325 LTLIBICONV = @LTLIBICONV@
326 LTLIBINTL = @LTLIBINTL@
327 LTLIBOBJS = @LTLIBOBJS@
328 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
329 LUCENE = @LUCENE@
330 LUCENE_ANALYZER = @LUCENE_ANALYZER@
331 LUCENE_PARSER = @LUCENE_PARSER@
332 MAINT = @MAINT@
333 MAKEINFO = @MAKEINFO@
334 MANIFEST_TOOL = @MANIFEST_TOOL@
335 MATIO_CFLAGS = @MATIO_CFLAGS@
336 MATIO_ENABLE = @MATIO_ENABLE@
337 MATIO_LIBS = @MATIO_LIBS@
338 MKDIR_P = @MKDIR_P@
339 MPI_ENABLE = @MPI_ENABLE@
340 MSGCAT = @MSGCAT@
341 MSGFMT = @MSGFMT@
342 MSGFMT_015 = @MSGFMT_015@
343 MSGMERGE = @MSGMERGE@
344 NM = @NM@
345 NMEDIT = @NMEDIT@
346 OBJDUMP = @OBJDUMP@
347 OBJEXT = @OBJEXT@
348 OCAMLC = @OCAMLC@
349 OCAMLDEP = @OCAMLDEP@
350 OCAMLLEX = @OCAMLLEX@
351 OCAMLOPT = @OCAMLOPT@
352 OCAMLYACC = @OCAMLYACC@
353 OPENMPI_CC = @OPENMPI_CC@
354 OPENMPI_CFLAGS = @OPENMPI_CFLAGS@
355 OPENMPI_CXX = @OPENMPI_CXX@
356 OPENMPI_CXXFLAGS = @OPENMPI_CXXFLAGS@
357 OPENMPI_LIBS = @OPENMPI_LIBS@
358 OPENMP_CFLAGS = @OPENMP_CFLAGS@
359 OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
360 OPENMP_ENABLE = @OPENMP_ENABLE@
361 OPENMP_LIBS = @OPENMP_LIBS@
362 OTOOL = @OTOOL@
363 OTOOL64 = @OTOOL64@
364 PACKAGE = @PACKAGE@
365 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
366 PACKAGE_NAME = @PACKAGE_NAME@
367 PACKAGE_STRING = @PACKAGE_STRING@
368 PACKAGE_TARNAME = @PACKAGE_TARNAME@
369 PACKAGE_URL = @PACKAGE_URL@
370 PACKAGE_VERSION = @PACKAGE_VERSION@
371 PATH_SEPARATOR = @PATH_SEPARATOR@
372 PCRE_CFLAGS = @PCRE_CFLAGS@
373 PCRE_CONFIG = @PCRE_CONFIG@
374 PCRE_LIBS = @PCRE_LIBS@
375 PCRE_VERSION = @PCRE_VERSION@
376 PKG_CONFIG = @PKG_CONFIG@
377 POSUB = @POSUB@
378 POW_LIB = @POW_LIB@
379 PYTHON = @PYTHON@
380 RANLIB = @RANLIB@
381 RELOCATABLE = @RELOCATABLE@
382 RT_LIB = @RT_LIB@
383 SAXON = @SAXON@
384 SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
385 SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
386 SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
387 SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
388 SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
389 SCIRENDERER = @SCIRENDERER@
390 SCIRENDERER_CP = @SCIRENDERER_CP@
391 SCI_CFLAGS = @SCI_CFLAGS@
392 SCI_CXXFLAGS = @SCI_CXXFLAGS@
393 SCI_FFLAGS = @SCI_FFLAGS@
394 SCI_LDFLAGS = @SCI_LDFLAGS@
395 SED = @SED@
396 SET_MAKE = @SET_MAKE@
397 SET_RELOCATABLE = @SET_RELOCATABLE@
398 SHELL = @SHELL@
399 SKINLF = @SKINLF@
400 SPLINT = @SPLINT@
401 STRIP = @STRIP@
402 SWIG_BIN = @SWIG_BIN@
403 SWIG_JAVA = @SWIG_JAVA@
404 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
405 SWIG_SCILAB = @SWIG_SCILAB@
406 TCLTK_LIBS = @TCLTK_LIBS@
407 TCL_INC_PATH = @TCL_INC_PATH@
408 TK_INC_PATH = @TK_INC_PATH@
409 UMFPACK_CFLAGS = @UMFPACK_CFLAGS@
410 UMFPACK_ENABLE = @UMFPACK_ENABLE@
411 UMFPACK_LIB = @UMFPACK_LIB@
412 USE_NLS = @USE_NLS@
413 VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
414 VALGRIND_LIBS = @VALGRIND_LIBS@
415 VERSION = @VERSION@
416 WITH_OCAML = @WITH_OCAML@
417 WITH_TKSCI = @WITH_TKSCI@
418 XCOS_ENABLE = @XCOS_ENABLE@
419 XGETTEXT = @XGETTEXT@
420 XGETTEXT_015 = @XGETTEXT_015@
421 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
422 XMKMF = @XMKMF@
423 XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
424 XML_APIS_EXT = @XML_APIS_EXT@
425 XML_CONFIG = @XML_CONFIG@
426 XML_FLAGS = @XML_FLAGS@
427 XML_LIBS = @XML_LIBS@
428 XML_VERSION = @XML_VERSION@
429 X_CFLAGS = @X_CFLAGS@
430 X_EXTRA_LIBS = @X_EXTRA_LIBS@
431 X_LIBS = @X_LIBS@
432 X_PRE_LIBS = @X_PRE_LIBS@
433 YACC = @YACC@
434 YFLAGS = @YFLAGS@
435 abs_builddir = @abs_builddir@
436 abs_srcdir = @abs_srcdir@
437 abs_top_builddir = @abs_top_builddir@
438 abs_top_srcdir = @abs_top_srcdir@
439 ac_ct_AR = @ac_ct_AR@
440 ac_ct_CC = @ac_ct_CC@
441 ac_ct_CXX = @ac_ct_CXX@
442 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
443 ac_ct_F77 = @ac_ct_F77@
444 am__include = @am__include@
445 am__leading_dot = @am__leading_dot@
446 am__quote = @am__quote@
447 am__tar = @am__tar@
448 am__untar = @am__untar@
449 bindir = @bindir@
450 build = @build@
451 build_alias = @build_alias@
452 build_cpu = @build_cpu@
453 build_os = @build_os@
454 build_vendor = @build_vendor@
455 builddir = @builddir@
456 cxx_present = @cxx_present@
457 datadir = @datadir@
458 datarootdir = @datarootdir@
459 docdir = @docdir@
460 dvidir = @dvidir@
461 exec_prefix = @exec_prefix@
462 host = @host@
463 host_alias = @host_alias@
464 host_cpu = @host_cpu@
465 host_os = @host_os@
466 host_vendor = @host_vendor@
467 htmldir = @htmldir@
468 includedir = @includedir@
469 infodir = @infodir@
470 install_sh = @install_sh@
471 libdir = @libdir@
472 libexecdir = @libexecdir@
473 localedir = @localedir@
474 localstatedir = @localstatedir@
475 mandir = @mandir@
476 mkdir_p = @mkdir_p@
477 oldincludedir = @oldincludedir@
478 pdfdir = @pdfdir@
479 prefix = @prefix@
480 program_transform_name = @program_transform_name@
481 psdir = @psdir@
482 sbindir = @sbindir@
483 sharedstatedir = @sharedstatedir@
484 srcdir = @srcdir@
485 sysconfdir = @sysconfdir@
486 target_alias = @target_alias@
487 top_build_prefix = @top_build_prefix@
488 top_builddir = @top_builddir@
489 top_srcdir = @top_srcdir@
490 yacc_present = @yacc_present@
491
492 #### Target ######
493 modulename = demo_tools
494
495 #### demo_tools : Conf files ####
496 libdemo_tools_la_rootdir = $(mydatadir)
497 libdemo_tools_la_root_DATA = license.txt 
498
499 #### demo_tools : init scripts ####
500 libdemo_tools_la_etcdir = $(mydatadir)/etc
501 libdemo_tools_la_etc_DATA = etc/demo_tools.quit etc/demo_tools.start
502
503 #### demo_tools : XML gui ####
504 libdemo_tools_la_guidir = $(mydatadir)/gui
505 libdemo_tools_la_gui_DATA = gui/demo_gui.xml
506
507 ####┬ádemo_tools : images files ####
508 libdemo_tools_la_imagesdir = $(mydatadir)/images
509 libdemo_tools_la_images_DATA = images/logo_scilab.png
510
511 # Where all the Scilab stuff is installed (macros, help, ...)
512 mydatadir = $(pkgdatadir)/modules/$(modulename)
513
514 # Set AM_* SCI detected settings
515 AM_CPPFLAGS = $(SCI_CPPFLAGS)
516 AM_CFLAGS = $(SCI_CFLAGS)
517 AM_CXXFLAGS = $(SCI_CXXFLAGS)
518 # append includes to AM_FFLAGS to manage fortran includes
519 AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
520
521 # Tag shared libraries with the Scilab version
522 AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
523
524 # splint options
525 SPLINT_OPTIONS = -weak -booltype BOOL
526
527 ########################### JAVA ######################################
528 #### We are delegating java compilation to ant... Thanks to that
529 #### the procedure will be the same with Microsoft Windows (C)
530 #### and Linux/Unix
531 #######################################################################
532 TARGETS_ALL = $(am__append_1)
533
534 ################ MACROS ######################
535 # Rule to build a macro
536 # NOT USED  AT THE MOMENT
537 SUFFIXES = .sci 
538
539 ########### INSTALL DOCUMENTATION ###################
540
541 # Install documentation files into the right target
542 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
543 # automake needs the html files to be present which is not the case when
544 # we are building Scilab
545
546 # Where it should be installed
547 pkgdocdir = $(mydatadir)
548
549 # What is the mask of the help source
550 DOCMASKXML = *.xml
551
552 # What is the mask of the MathML sources
553 DOCMASKMML = *.mml
554
555 ########### INSTALL DATA ###################
556 # Install macros, help & demos
557 # Where it should be installed
558 pkgmacrosdir = $(mydatadir)
559 # Which directory we process
560 MACRODIRS = macros/
561 # Mask of the Scilab sources macros
562 MACROMASK = *.sci
563 # Mask of the Scilab executable sources macros
564 MACROBUILDMASK = *.sce
565 # Mask of the Scilab compiled macros
566 MACROBINMASK = *.bin
567 # List of the standard directory for tests
568 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
569 # Where the demos should be installed
570 pkgdemosdir = $(mydatadir)
571 # List of the standard directory for demos
572 DEMOS_DIR = demos
573 # List of the standard directory for examples
574 EXAMPLES_DIR = examples
575 # Where to export JAVA archives (.jar)
576 JARDIR = jar/
577 # JAR files mask
578 JARMASK = *.jar
579 # Chapter file 
580 HELP_CHAPTERDIR = help/
581 HELP_CHAPTERFILE = addchapter.sce
582 HELP_CHAPTERLANG = en_US fr_FR pt_BR
583 all: all-am
584
585 .SUFFIXES:
586 .SUFFIXES: .sci .bin
587 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
588         @for dep in $?; do \
589           case '$(am__configure_deps)' in \
590             *$$dep*) \
591               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
592                 && { if test -f $@; then exit 0; else break; fi; }; \
593               exit 1;; \
594           esac; \
595         done; \
596         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/demo_tools/Makefile'; \
597         $(am__cd) $(top_srcdir) && \
598           $(AUTOMAKE) --foreign modules/demo_tools/Makefile
599 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
600         @case '$?' in \
601           *config.status*) \
602             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
603           *) \
604             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
605             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
606         esac;
607 $(top_srcdir)/Makefile.incl.am $(am__empty):
608
609 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
610         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
611
612 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
613         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
614 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
615         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
616 $(am__aclocal_m4_deps):
617
618 mostlyclean-libtool:
619         -rm -f *.lo
620
621 clean-libtool:
622         -rm -rf .libs _libs
623 install-libdemo_tools_la_etcDATA: $(libdemo_tools_la_etc_DATA)
624         @$(NORMAL_INSTALL)
625         @list='$(libdemo_tools_la_etc_DATA)'; test -n "$(libdemo_tools_la_etcdir)" || list=; \
626         if test -n "$$list"; then \
627           echo " $(MKDIR_P) '$(DESTDIR)$(libdemo_tools_la_etcdir)'"; \
628           $(MKDIR_P) "$(DESTDIR)$(libdemo_tools_la_etcdir)" || exit 1; \
629         fi; \
630         for p in $$list; do \
631           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
632           echo "$$d$$p"; \
633         done | $(am__base_list) | \
634         while read files; do \
635           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libdemo_tools_la_etcdir)'"; \
636           $(INSTALL_DATA) $$files "$(DESTDIR)$(libdemo_tools_la_etcdir)" || exit $$?; \
637         done
638
639 uninstall-libdemo_tools_la_etcDATA:
640         @$(NORMAL_UNINSTALL)
641         @list='$(libdemo_tools_la_etc_DATA)'; test -n "$(libdemo_tools_la_etcdir)" || list=; \
642         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
643         dir='$(DESTDIR)$(libdemo_tools_la_etcdir)'; $(am__uninstall_files_from_dir)
644 install-libdemo_tools_la_guiDATA: $(libdemo_tools_la_gui_DATA)
645         @$(NORMAL_INSTALL)
646         @list='$(libdemo_tools_la_gui_DATA)'; test -n "$(libdemo_tools_la_guidir)" || list=; \
647         if test -n "$$list"; then \
648           echo " $(MKDIR_P) '$(DESTDIR)$(libdemo_tools_la_guidir)'"; \
649           $(MKDIR_P) "$(DESTDIR)$(libdemo_tools_la_guidir)" || exit 1; \
650         fi; \
651         for p in $$list; do \
652           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
653           echo "$$d$$p"; \
654         done | $(am__base_list) | \
655         while read files; do \
656           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libdemo_tools_la_guidir)'"; \
657           $(INSTALL_DATA) $$files "$(DESTDIR)$(libdemo_tools_la_guidir)" || exit $$?; \
658         done
659
660 uninstall-libdemo_tools_la_guiDATA:
661         @$(NORMAL_UNINSTALL)
662         @list='$(libdemo_tools_la_gui_DATA)'; test -n "$(libdemo_tools_la_guidir)" || list=; \
663         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
664         dir='$(DESTDIR)$(libdemo_tools_la_guidir)'; $(am__uninstall_files_from_dir)
665 install-libdemo_tools_la_imagesDATA: $(libdemo_tools_la_images_DATA)
666         @$(NORMAL_INSTALL)
667         @list='$(libdemo_tools_la_images_DATA)'; test -n "$(libdemo_tools_la_imagesdir)" || list=; \
668         if test -n "$$list"; then \
669           echo " $(MKDIR_P) '$(DESTDIR)$(libdemo_tools_la_imagesdir)'"; \
670           $(MKDIR_P) "$(DESTDIR)$(libdemo_tools_la_imagesdir)" || exit 1; \
671         fi; \
672         for p in $$list; do \
673           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
674           echo "$$d$$p"; \
675         done | $(am__base_list) | \
676         while read files; do \
677           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libdemo_tools_la_imagesdir)'"; \
678           $(INSTALL_DATA) $$files "$(DESTDIR)$(libdemo_tools_la_imagesdir)" || exit $$?; \
679         done
680
681 uninstall-libdemo_tools_la_imagesDATA:
682         @$(NORMAL_UNINSTALL)
683         @list='$(libdemo_tools_la_images_DATA)'; test -n "$(libdemo_tools_la_imagesdir)" || list=; \
684         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
685         dir='$(DESTDIR)$(libdemo_tools_la_imagesdir)'; $(am__uninstall_files_from_dir)
686 install-libdemo_tools_la_rootDATA: $(libdemo_tools_la_root_DATA)
687         @$(NORMAL_INSTALL)
688         @list='$(libdemo_tools_la_root_DATA)'; test -n "$(libdemo_tools_la_rootdir)" || list=; \
689         if test -n "$$list"; then \
690           echo " $(MKDIR_P) '$(DESTDIR)$(libdemo_tools_la_rootdir)'"; \
691           $(MKDIR_P) "$(DESTDIR)$(libdemo_tools_la_rootdir)" || exit 1; \
692         fi; \
693         for p in $$list; do \
694           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
695           echo "$$d$$p"; \
696         done | $(am__base_list) | \
697         while read files; do \
698           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libdemo_tools_la_rootdir)'"; \
699           $(INSTALL_DATA) $$files "$(DESTDIR)$(libdemo_tools_la_rootdir)" || exit $$?; \
700         done
701
702 uninstall-libdemo_tools_la_rootDATA:
703         @$(NORMAL_UNINSTALL)
704         @list='$(libdemo_tools_la_root_DATA)'; test -n "$(libdemo_tools_la_rootdir)" || list=; \
705         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
706         dir='$(DESTDIR)$(libdemo_tools_la_rootdir)'; $(am__uninstall_files_from_dir)
707 tags TAGS:
708
709 ctags CTAGS:
710
711 cscope cscopelist:
712
713
714 distdir: $(BUILT_SOURCES)
715         $(MAKE) $(AM_MAKEFLAGS) distdir-am
716
717 distdir-am: $(DISTFILES)
718         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
719         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
720         list='$(DISTFILES)'; \
721           dist_files=`for file in $$list; do echo $$file; done | \
722           sed -e "s|^$$srcdirstrip/||;t" \
723               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
724         case $$dist_files in \
725           */*) $(MKDIR_P) `echo "$$dist_files" | \
726                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
727                            sort -u` ;; \
728         esac; \
729         for file in $$dist_files; do \
730           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
731           if test -d $$d/$$file; then \
732             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
733             if test -d "$(distdir)/$$file"; then \
734               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
735             fi; \
736             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
737               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
738               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
739             fi; \
740             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
741           else \
742             test -f "$(distdir)/$$file" \
743             || cp -p $$d/$$file "$(distdir)/$$file" \
744             || exit 1; \
745           fi; \
746         done
747 check-am: all-am
748         $(MAKE) $(AM_MAKEFLAGS) check-local
749 check: check-am
750 all-am: Makefile $(DATA) all-local
751 installdirs:
752         for dir in "$(DESTDIR)$(libdemo_tools_la_etcdir)" "$(DESTDIR)$(libdemo_tools_la_guidir)" "$(DESTDIR)$(libdemo_tools_la_imagesdir)" "$(DESTDIR)$(libdemo_tools_la_rootdir)"; do \
753           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
754         done
755 install: install-am
756 install-exec: install-exec-am
757 install-data: install-data-am
758 uninstall: uninstall-am
759
760 install-am: all-am
761         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
762
763 installcheck: installcheck-am
764 install-strip:
765         if test -z '$(STRIP)'; then \
766           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
767             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
768               install; \
769         else \
770           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
771             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
772             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
773         fi
774 mostlyclean-generic:
775
776 clean-generic:
777
778 distclean-generic:
779         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
780         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
781
782 maintainer-clean-generic:
783         @echo "This command is intended for maintainers to use"
784         @echo "it deletes files that may require special tools to rebuild."
785 clean: clean-am
786
787 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
788
789 distclean: distclean-am
790         -rm -f Makefile
791 distclean-am: clean-am distclean-generic distclean-local
792
793 dvi: dvi-am
794
795 dvi-am:
796
797 html: html-am
798
799 html-am:
800
801 info: info-am
802
803 info-am:
804
805 install-data-am: install-data-local install-libdemo_tools_la_etcDATA \
806         install-libdemo_tools_la_guiDATA \
807         install-libdemo_tools_la_imagesDATA \
808         install-libdemo_tools_la_rootDATA
809
810 install-dvi: install-dvi-am
811
812 install-dvi-am:
813
814 install-exec-am:
815
816 install-html: install-html-am
817
818 install-html-am: install-html-local
819
820 install-info: install-info-am
821
822 install-info-am:
823
824 install-man:
825
826 install-pdf: install-pdf-am
827
828 install-pdf-am:
829
830 install-ps: install-ps-am
831
832 install-ps-am:
833
834 installcheck-am:
835
836 maintainer-clean: maintainer-clean-am
837         -rm -f Makefile
838 maintainer-clean-am: distclean-am maintainer-clean-generic
839
840 mostlyclean: mostlyclean-am
841
842 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
843
844 pdf: pdf-am
845
846 pdf-am:
847
848 ps: ps-am
849
850 ps-am:
851
852 uninstall-am: uninstall-libdemo_tools_la_etcDATA \
853         uninstall-libdemo_tools_la_guiDATA \
854         uninstall-libdemo_tools_la_imagesDATA \
855         uninstall-libdemo_tools_la_rootDATA
856
857 .MAKE: check-am install-am install-strip
858
859 .PHONY: all all-am all-local check check-am check-local clean \
860         clean-generic clean-libtool clean-local cscopelist-am ctags-am \
861         distclean distclean-generic distclean-libtool distclean-local \
862         distdir dvi dvi-am html html-am info info-am install \
863         install-am install-data install-data-am install-data-local \
864         install-dvi install-dvi-am install-exec install-exec-am \
865         install-html install-html-am install-html-local install-info \
866         install-info-am install-libdemo_tools_la_etcDATA \
867         install-libdemo_tools_la_guiDATA \
868         install-libdemo_tools_la_imagesDATA \
869         install-libdemo_tools_la_rootDATA install-man install-pdf \
870         install-pdf-am install-ps install-ps-am install-strip \
871         installcheck installcheck-am installdirs maintainer-clean \
872         maintainer-clean-generic mostlyclean mostlyclean-generic \
873         mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
874         uninstall-am uninstall-libdemo_tools_la_etcDATA \
875         uninstall-libdemo_tools_la_guiDATA \
876         uninstall-libdemo_tools_la_imagesDATA \
877         uninstall-libdemo_tools_la_rootDATA
878
879 .PRECIOUS: Makefile
880
881
882 # This target enables tests for Scilab
883 check-local: $(top_builddir)/scilab-bin test
884         if test -d $(mydatadir)/tests; then \
885           @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
886         fi
887 check-code:
888         if test -f build.xml; then \
889                 $(ANT) checkstyle; \
890         fi
891         if test -x "$(SPLINT)"; then \
892                 $(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); \
893         fi
894 @NEED_JAVA_TRUE@java:
895 # Some configurations needs to export JAVA_HOME in the current env
896 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
897 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
898 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
899 @NEED_JAVA_TRUE@                $(ANT); \
900 @NEED_JAVA_TRUE@        fi
901
902 @NEED_JAVA_TRUE@clean-java:
903 # Some configurations needs to export JAVA_HOME in the current env
904 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
905 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
906 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
907 @NEED_JAVA_TRUE@                $(ANT) clean; \
908 @NEED_JAVA_TRUE@        fi;
909
910 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
911 # We call the target swig-build on the variable SWIG_WRAPPERS
912
913 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
914 @SWIG_TRUE@     @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
915 @SWIG_TRUE@     SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
916 @SWIG_TRUE@     if test -n "$(SWIG_WRAPPERS)"; then \
917 @SWIG_TRUE@             for file in $(SWIG_WRAPPERS) ; do \
918 @SWIG_TRUE@                     echo "Swig process of $$file (Java) ..."; \
919 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
920 @SWIG_TRUE@             done; \
921 @SWIG_TRUE@     fi
922
923 @SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS)
924 @SWIG_TRUE@     @SWIG_OUTDIR=src/swig/; \
925 @SWIG_TRUE@     if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
926 @SWIG_TRUE@             for file in $(SWIG_SCILAB_WRAPPERS) ; do \
927 @SWIG_TRUE@                     echo "Swig process of $$file (Scilab) ..."; \
928 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_SCILAB)  -outdir $$SWIG_OUTDIR $$file; \
929 @SWIG_TRUE@             done; \
930 @SWIG_TRUE@     fi
931
932 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
933 # We call the target swig-build on the variable SWIG_WRAPPERS
934
935 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
936 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/; \
937 @GIWS_TRUE@     MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
938 @GIWS_TRUE@     if test -n "$(GIWS_WRAPPERS)"; then \
939 @GIWS_TRUE@             for file in $(GIWS_WRAPPERS) ; do \
940 @GIWS_TRUE@                     echo "GIWS process of $$file ..."; \
941 @GIWS_TRUE@                     if test -z "$(GIWS_OPTIONS)"; then \
942 @GIWS_TRUE@                             $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
943 @GIWS_TRUE@                     else \
944 @GIWS_TRUE@                             echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
945 @GIWS_TRUE@                             $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
946 @GIWS_TRUE@                     fi \
947 @GIWS_TRUE@             done; \
948 @GIWS_TRUE@     fi
949
950 @GIWS_TRUE@giws-exception:
951 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
952 @GIWS_TRUE@     echo "GIWS: Generation of exception class ..."; \
953 @GIWS_TRUE@     $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR 
954
955 macros:
956         -@( if test ! -x $(top_builddir)/scilab-bin; then \
957                 echo "Error : Cannot build $< : Scilab has not been built"; \
958         else \
959                 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
960         fi)
961
962 # Removes the macros
963 clean-macros:
964 # Removes macros (*.bin generated from .sci)
965         @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
966                 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
967                 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
968         done
969
970 test:
971 # More tests could be added here
972         @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
973         if test -f build.xml -a $$USEANT -eq 1; then \
974                 $(ANT) test; \
975         fi
976
977 all-local: $(TARGETS_ALL)
978
979 .sci.bin:
980         -@( if test ! -x $(top_builddir)/scilab-bin; then \
981         echo "Error : Cannot build $< : Scilab has not been build"; \
982         else \
983         echo "Creating $@"; \
984         $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
985         fi )
986
987 install-html-local:
988
989 install-data-local-local:
990 # Mainly for javasci
991         @if test -d $(srcdir)/javadoc; then \
992                 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
993         fi
994 # If the user wants the help sources to be installed
995 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
996 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
997 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/$$lang; then \
998 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
999 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
1000 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
1001 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
1002 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
1003 @INSTALL_HELP_XML_TRUE@           done ; \
1004 @INSTALL_HELP_XML_TRUE@         fi; \
1005 @INSTALL_HELP_XML_TRUE@  fi; \
1006 @INSTALL_HELP_XML_TRUE@ done; \
1007 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
1008 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/mml/; then \
1009 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
1010 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
1011 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
1012 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
1013 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
1014 @INSTALL_HELP_XML_TRUE@           done ; \
1015 @INSTALL_HELP_XML_TRUE@         fi; \
1016 @INSTALL_HELP_XML_TRUE@ fi
1017 install-data-local:
1018 # Install the tests
1019         @echo "-------- Install tests (if any) --------"; \
1020         for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
1021           if test -d $(srcdir)/$$dir/; then \
1022             $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1023                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1024                     if test -d "$(srcdir)/$$dir/$$file"; then \
1025                           echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
1026                           $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
1027                     else \
1028                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1029                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1030                     fi \
1031                   done; \
1032           fi; \
1033         done
1034 # Install the help chapter
1035         @echo "-------- Install the help chapter (if any) --------"; \
1036         for lang in $(HELP_CHAPTERLANG); do \
1037                 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
1038                 if test -f $$HELPFILE; then \
1039                         echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1040                         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1041                         echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1042                         $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1043                 fi; \
1044         done
1045 # Install the demos & examples
1046         @echo "-------- Install demos & examples (if any) --------"; \
1047         for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
1048           if test -d $(srcdir)/$$dir/; then \
1049             $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
1050                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1051                     if test -d "$(srcdir)/$$dir/$$file"; then \
1052                           echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
1053                           $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
1054                     else \
1055                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1056                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1057                     fi \
1058                   done; \
1059           fi; \
1060         done
1061 # Install the macros
1062         @echo "-------- Install macros (if any) --------"; \
1063         for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1064           $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1065                 if test -d $(srcdir)/$$dir/; then \
1066                         FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
1067                         if test -n "$(MACROSSPECIALEXT)"; then \
1068                                 specialExtDir=""; \
1069                                 for specialExt in $(MACROSSPECIALEXT); do \
1070                                         specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
1071                                 done; \
1072                                 FILELIST="$$FILELIST $$specialExtDir"; \
1073                         fi; \
1074                   for file in `ls -1 $$FILELIST 2>/dev/null`; do \
1075                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
1076                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
1077                   done; \
1078                 fi; \
1079         done
1080 # Install java files (.jar)
1081         @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
1082         echo "-------- Install jar files --------"; \
1083     $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
1084           for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
1085                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
1086                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
1087           done ; \
1088         fi
1089
1090 ########### CLEAN ###################
1091 # Clean help (generated automatically by Scilab)
1092 # It used to clean the macro (clean-macros) but this was causing
1093 # make clean && make to fail Scilab startup
1094 @NEED_JAVA_TRUE@clean-local: clean-java
1095 @NEED_JAVA_FALSE@clean-local:
1096
1097 distclean-local:
1098         rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
1099
1100 .PHONY: macros java swig giws
1101
1102 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1103 # Otherwise a system limit (for SysV at least) may be exceeded.
1104 .NOEXPORT: