50973710568da796bbe6554472cb89293bd32556
[scilab.git] / scilab / modules / compatibility_functions / 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) 2006 - INRIA - Sylvestre Ledru <sylvestre.ledru@inria.fr>
19 # Copyright (C) 2008 - INRIA - Vincent Couvert <vincent.couvert@inria.fr>
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 # Copyright (C) 2012 - 2016 - Scilab Enterprises
28 #
29 # This file is hereby licensed under the terms of the GNU GPL v2.0,
30 # pursuant to article 5.3.4 of the CeCILL v.2.1.
31 # This file was originally licensed under the terms of the CeCILL v2.1,
32 # and continues to be available under such terms.
33 # For more information, see the COPYING file which you should have received
34 # along with this program.
35 #
36
37 ##########
38 ### Makefile included stuff
39 ### Target, variable, suffixes which are supposed to be useful in every makefile.am
40 ##########
41
42 VPATH = @srcdir@
43 am__is_gnu_make = { \
44   if test -z '$(MAKELEVEL)'; then \
45     false; \
46   elif test -n '$(MAKE_HOST)'; then \
47     true; \
48   elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
49     true; \
50   else \
51     false; \
52   fi; \
53 }
54 am__make_running_with_option = \
55   case $${target_option-} in \
56       ?) ;; \
57       *) echo "am__make_running_with_option: internal error: invalid" \
58               "target option '$${target_option-}' specified" >&2; \
59          exit 1;; \
60   esac; \
61   has_opt=no; \
62   sane_makeflags=$$MAKEFLAGS; \
63   if $(am__is_gnu_make); then \
64     sane_makeflags=$$MFLAGS; \
65   else \
66     case $$MAKEFLAGS in \
67       *\\[\ \   ]*) \
68         bs=\\; \
69         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
70           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
71     esac; \
72   fi; \
73   skip_next=no; \
74   strip_trailopt () \
75   { \
76     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
77   }; \
78   for flg in $$sane_makeflags; do \
79     test $$skip_next = yes && { skip_next=no; continue; }; \
80     case $$flg in \
81       *=*|--*) continue;; \
82         -*I) strip_trailopt 'I'; skip_next=yes;; \
83       -*I?*) strip_trailopt 'I';; \
84         -*O) strip_trailopt 'O'; skip_next=yes;; \
85       -*O?*) strip_trailopt 'O';; \
86         -*l) strip_trailopt 'l'; skip_next=yes;; \
87       -*l?*) strip_trailopt 'l';; \
88       -[dEDm]) skip_next=yes;; \
89       -[JT]) skip_next=yes;; \
90     esac; \
91     case $$flg in \
92       *$$target_option*) has_opt=yes; break;; \
93     esac; \
94   done; \
95   test $$has_opt = yes
96 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
97 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
98 pkgdatadir = $(datadir)/@PACKAGE@
99 pkgincludedir = $(includedir)/@PACKAGE@
100 pkglibdir = $(libdir)/@PACKAGE@
101 pkglibexecdir = $(libexecdir)/@PACKAGE@
102 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
103 install_sh_DATA = $(install_sh) -c -m 644
104 install_sh_PROGRAM = $(install_sh) -c
105 install_sh_SCRIPT = $(install_sh) -c
106 INSTALL_HEADER = $(INSTALL_DATA)
107 transform = $(program_transform_name)
108 NORMAL_INSTALL = :
109 PRE_INSTALL = :
110 POST_INSTALL = :
111 NORMAL_UNINSTALL = :
112 PRE_UNINSTALL = :
113 POST_UNINSTALL = :
114 build_triplet = @build@
115 host_triplet = @host@
116 @NEED_JAVA_TRUE@am__append_1 = java
117 subdir = modules/compatibility_functions
118 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
119 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cxx_compile_stdcxx_11.m4 \
120         $(top_srcdir)/m4/backtrace.m4 $(top_srcdir)/m4/compiler.m4 \
121         $(top_srcdir)/m4/curl.m4 $(top_srcdir)/m4/docbook.m4 \
122         $(top_srcdir)/m4/doxygen.m4 $(top_srcdir)/m4/eigen.m4 \
123         $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
124         $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
125         $(top_srcdir)/m4/intel_compiler.m4 \
126         $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
127         $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
128         $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
129         $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
130         $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
131         $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
132         $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \
133         $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \
134         $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \
135         $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \
136         $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac
137 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
138         $(ACLOCAL_M4)
139 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
140 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
141 CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
142 CONFIG_CLEAN_FILES =
143 CONFIG_CLEAN_VPATH_FILES =
144 AM_V_P = $(am__v_P_@AM_V@)
145 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
146 am__v_P_0 = false
147 am__v_P_1 = :
148 AM_V_GEN = $(am__v_GEN_@AM_V@)
149 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
150 am__v_GEN_0 = @echo "  GEN     " $@;
151 am__v_GEN_1 = 
152 AM_V_at = $(am__v_at_@AM_V@)
153 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
154 am__v_at_0 = @
155 am__v_at_1 = 
156 SOURCES =
157 DIST_SOURCES =
158 am__can_run_installinfo = \
159   case $$AM_UPDATE_INFO_DIR in \
160     n|no|NO) false;; \
161     *) (install-info --version) >/dev/null 2>&1;; \
162   esac
163 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
164 am__vpath_adj = case $$p in \
165     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
166     *) f=$$p;; \
167   esac;
168 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
169 am__install_max = 40
170 am__nobase_strip_setup = \
171   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
172 am__nobase_strip = \
173   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
174 am__nobase_list = $(am__nobase_strip_setup); \
175   for p in $$list; do echo "$$p $$p"; done | \
176   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
177   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
178     if (++n[$$2] == $(am__install_max)) \
179       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
180     END { for (dir in files) print dir, files[dir] }'
181 am__base_list = \
182   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
183   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
184 am__uninstall_files_from_dir = { \
185   test -z "$$files" \
186     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
187     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
188          $(am__cd) "$$dir" && rm -f $$files; }; \
189   }
190 am__installdirs =  \
191         "$(DESTDIR)$(libscicompatibility_functions_la_etcdir)" \
192         "$(DESTDIR)$(libscicompatibility_functions_la_rootdir)"
193 DATA = $(libscicompatibility_functions_la_etc_DATA) \
194         $(libscicompatibility_functions_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_CXX11 = @HAVE_CXX11@
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 # Where all the Scilab stuff is installed (macros, help, ...)
493 mydatadir = $(pkgdatadir)/modules/$(modulename)
494
495 # Set AM_* SCI detected settings
496 AM_CPPFLAGS = $(SCI_CPPFLAGS)
497 AM_CFLAGS = $(SCI_CFLAGS)
498 AM_CXXFLAGS = $(SCI_CXXFLAGS)
499 # append includes to AM_FFLAGS to manage fortran includes
500 AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
501
502 # Tag shared libraries with the Scilab version
503 AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
504
505 # splint options
506 SPLINT_OPTIONS = -weak -booltype BOOL
507
508 ########################### JAVA ######################################
509 #### We are delegating java compilation to ant... Thanks to that
510 #### the procedure will be the same with Microsoft Windows (C)
511 #### and Linux/Unix
512 #######################################################################
513 TARGETS_ALL = $(am__append_1)
514
515 ################ MACROS ######################
516 # Rule to build a macro
517 # NOT USED  AT THE MOMENT
518 SUFFIXES = .sci 
519
520 ########### INSTALL DOCUMENTATION ###################
521
522 # Install documentation files into the right target
523 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
524 # automake needs the html files to be present which is not the case when
525 # we are building Scilab
526
527 # Where it should be installed
528 pkgdocdir = $(mydatadir)
529
530 # What is the mask of the help source
531 DOCMASKXML = *.xml
532
533 # What is the mask of the MathML sources
534 DOCMASKMML = *.mml
535
536 ########### INSTALL DATA ###################
537 # Install macros, help & demos
538 # Where it should be installed
539 pkgmacrosdir = $(mydatadir)
540 # Which directory we process
541 MACRODIRS = macros/
542 # Mask of the Scilab sources macros
543 MACROMASK = *.sci
544 # Mask of the Scilab executable sources macros
545 MACROBUILDMASK = *.sce
546 # Mask of the Scilab compiled macros
547 MACROBINMASK = *.bin
548 # List of the standard directory for tests
549 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
550 # Where the demos should be installed
551 pkgdemosdir = $(mydatadir)
552 # List of the standard directory for demos
553 DEMOS_DIR = demos
554 # List of the standard directory for examples
555 EXAMPLES_DIR = examples
556 # Where to export JAVA archives (.jar)
557 JARDIR = jar/
558 # JAR files mask
559 JARMASK = *.jar
560 # Chapter file 
561 HELP_CHAPTERDIR = help/
562 HELP_CHAPTERFILE = addchapter.sce
563 HELP_CHAPTERLANG = en_US fr_FR pt_BR
564
565 #### Target ######
566 modulename = compatibility_functions
567
568 #### compatibility_functions : Conf files ####
569 libscicompatibility_functions_la_rootdir = $(mydatadir)
570 libscicompatibility_functions_la_root_DATA = license.txt 
571
572 #### compatibility_functions : init scripts #### 
573 libscicompatibility_functions_la_etcdir = $(mydatadir)/etc
574 libscicompatibility_functions_la_etc_DATA = etc/compatibility_functions.quit etc/compatibility_functions.start
575 all: all-am
576
577 .SUFFIXES:
578 .SUFFIXES: .sci .bin
579 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
580         @for dep in $?; do \
581           case '$(am__configure_deps)' in \
582             *$$dep*) \
583               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
584                 && { if test -f $@; then exit 0; else break; fi; }; \
585               exit 1;; \
586           esac; \
587         done; \
588         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/compatibility_functions/Makefile'; \
589         $(am__cd) $(top_srcdir) && \
590           $(AUTOMAKE) --foreign modules/compatibility_functions/Makefile
591 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
592         @case '$?' in \
593           *config.status*) \
594             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
595           *) \
596             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
597             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
598         esac;
599 $(top_srcdir)/Makefile.incl.am $(am__empty):
600
601 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
602         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
603
604 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
605         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
606 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
607         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
608 $(am__aclocal_m4_deps):
609
610 mostlyclean-libtool:
611         -rm -f *.lo
612
613 clean-libtool:
614         -rm -rf .libs _libs
615 install-libscicompatibility_functions_la_etcDATA: $(libscicompatibility_functions_la_etc_DATA)
616         @$(NORMAL_INSTALL)
617         @list='$(libscicompatibility_functions_la_etc_DATA)'; test -n "$(libscicompatibility_functions_la_etcdir)" || list=; \
618         if test -n "$$list"; then \
619           echo " $(MKDIR_P) '$(DESTDIR)$(libscicompatibility_functions_la_etcdir)'"; \
620           $(MKDIR_P) "$(DESTDIR)$(libscicompatibility_functions_la_etcdir)" || exit 1; \
621         fi; \
622         for p in $$list; do \
623           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
624           echo "$$d$$p"; \
625         done | $(am__base_list) | \
626         while read files; do \
627           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscicompatibility_functions_la_etcdir)'"; \
628           $(INSTALL_DATA) $$files "$(DESTDIR)$(libscicompatibility_functions_la_etcdir)" || exit $$?; \
629         done
630
631 uninstall-libscicompatibility_functions_la_etcDATA:
632         @$(NORMAL_UNINSTALL)
633         @list='$(libscicompatibility_functions_la_etc_DATA)'; test -n "$(libscicompatibility_functions_la_etcdir)" || list=; \
634         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
635         dir='$(DESTDIR)$(libscicompatibility_functions_la_etcdir)'; $(am__uninstall_files_from_dir)
636 install-libscicompatibility_functions_la_rootDATA: $(libscicompatibility_functions_la_root_DATA)
637         @$(NORMAL_INSTALL)
638         @list='$(libscicompatibility_functions_la_root_DATA)'; test -n "$(libscicompatibility_functions_la_rootdir)" || list=; \
639         if test -n "$$list"; then \
640           echo " $(MKDIR_P) '$(DESTDIR)$(libscicompatibility_functions_la_rootdir)'"; \
641           $(MKDIR_P) "$(DESTDIR)$(libscicompatibility_functions_la_rootdir)" || exit 1; \
642         fi; \
643         for p in $$list; do \
644           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
645           echo "$$d$$p"; \
646         done | $(am__base_list) | \
647         while read files; do \
648           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscicompatibility_functions_la_rootdir)'"; \
649           $(INSTALL_DATA) $$files "$(DESTDIR)$(libscicompatibility_functions_la_rootdir)" || exit $$?; \
650         done
651
652 uninstall-libscicompatibility_functions_la_rootDATA:
653         @$(NORMAL_UNINSTALL)
654         @list='$(libscicompatibility_functions_la_root_DATA)'; test -n "$(libscicompatibility_functions_la_rootdir)" || list=; \
655         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
656         dir='$(DESTDIR)$(libscicompatibility_functions_la_rootdir)'; $(am__uninstall_files_from_dir)
657 tags TAGS:
658
659 ctags CTAGS:
660
661 cscope cscopelist:
662
663
664 distdir: $(BUILT_SOURCES)
665         $(MAKE) $(AM_MAKEFLAGS) distdir-am
666
667 distdir-am: $(DISTFILES)
668         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
669         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
670         list='$(DISTFILES)'; \
671           dist_files=`for file in $$list; do echo $$file; done | \
672           sed -e "s|^$$srcdirstrip/||;t" \
673               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
674         case $$dist_files in \
675           */*) $(MKDIR_P) `echo "$$dist_files" | \
676                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
677                            sort -u` ;; \
678         esac; \
679         for file in $$dist_files; do \
680           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
681           if test -d $$d/$$file; then \
682             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
683             if test -d "$(distdir)/$$file"; then \
684               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
685             fi; \
686             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
687               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
688               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
689             fi; \
690             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
691           else \
692             test -f "$(distdir)/$$file" \
693             || cp -p $$d/$$file "$(distdir)/$$file" \
694             || exit 1; \
695           fi; \
696         done
697 check-am: all-am
698         $(MAKE) $(AM_MAKEFLAGS) check-local
699 check: check-am
700 all-am: Makefile $(DATA) all-local
701 installdirs:
702         for dir in "$(DESTDIR)$(libscicompatibility_functions_la_etcdir)" "$(DESTDIR)$(libscicompatibility_functions_la_rootdir)"; do \
703           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
704         done
705 install: install-am
706 install-exec: install-exec-am
707 install-data: install-data-am
708 uninstall: uninstall-am
709
710 install-am: all-am
711         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
712
713 installcheck: installcheck-am
714 install-strip:
715         if test -z '$(STRIP)'; then \
716           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
717             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
718               install; \
719         else \
720           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
721             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
722             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
723         fi
724 mostlyclean-generic:
725
726 clean-generic:
727
728 distclean-generic:
729         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
730         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
731
732 maintainer-clean-generic:
733         @echo "This command is intended for maintainers to use"
734         @echo "it deletes files that may require special tools to rebuild."
735 clean: clean-am
736
737 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
738
739 distclean: distclean-am
740         -rm -f Makefile
741 distclean-am: clean-am distclean-generic distclean-local
742
743 dvi: dvi-am
744
745 dvi-am:
746
747 html: html-am
748
749 html-am:
750
751 info: info-am
752
753 info-am:
754
755 install-data-am: install-data-local \
756         install-libscicompatibility_functions_la_etcDATA \
757         install-libscicompatibility_functions_la_rootDATA
758
759 install-dvi: install-dvi-am
760
761 install-dvi-am:
762
763 install-exec-am:
764
765 install-html: install-html-am
766
767 install-html-am: install-html-local
768
769 install-info: install-info-am
770
771 install-info-am:
772
773 install-man:
774
775 install-pdf: install-pdf-am
776
777 install-pdf-am:
778
779 install-ps: install-ps-am
780
781 install-ps-am:
782
783 installcheck-am:
784
785 maintainer-clean: maintainer-clean-am
786         -rm -f Makefile
787 maintainer-clean-am: distclean-am maintainer-clean-generic
788
789 mostlyclean: mostlyclean-am
790
791 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
792
793 pdf: pdf-am
794
795 pdf-am:
796
797 ps: ps-am
798
799 ps-am:
800
801 uninstall-am: uninstall-libscicompatibility_functions_la_etcDATA \
802         uninstall-libscicompatibility_functions_la_rootDATA
803
804 .MAKE: check-am install-am install-strip
805
806 .PHONY: all all-am all-local check check-am check-local clean \
807         clean-generic clean-libtool clean-local cscopelist-am ctags-am \
808         distclean distclean-generic distclean-libtool distclean-local \
809         distdir dvi dvi-am html html-am info info-am install \
810         install-am install-data install-data-am install-data-local \
811         install-dvi install-dvi-am install-exec install-exec-am \
812         install-html install-html-am install-html-local install-info \
813         install-info-am \
814         install-libscicompatibility_functions_la_etcDATA \
815         install-libscicompatibility_functions_la_rootDATA install-man \
816         install-pdf install-pdf-am install-ps install-ps-am \
817         install-strip installcheck installcheck-am installdirs \
818         maintainer-clean maintainer-clean-generic mostlyclean \
819         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
820         tags-am uninstall uninstall-am \
821         uninstall-libscicompatibility_functions_la_etcDATA \
822         uninstall-libscicompatibility_functions_la_rootDATA
823
824 .PRECIOUS: Makefile
825
826
827 # This target enables tests for Scilab
828 check-local: $(top_builddir)/scilab-bin test
829         if test -d $(mydatadir)/tests; then \
830           @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
831         fi
832 check-code:
833         if test -f build.xml; then \
834                 $(ANT) checkstyle; \
835         fi
836         if test -x "$(SPLINT)"; then \
837                 $(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); \
838         fi
839 @NEED_JAVA_TRUE@java:
840 # Some configurations needs to export JAVA_HOME in the current env
841 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
842 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
843 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
844 @NEED_JAVA_TRUE@                $(ANT); \
845 @NEED_JAVA_TRUE@        fi
846
847 @NEED_JAVA_TRUE@clean-java:
848 # Some configurations needs to export JAVA_HOME in the current env
849 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
850 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
851 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
852 @NEED_JAVA_TRUE@                $(ANT) clean; \
853 @NEED_JAVA_TRUE@        fi;
854
855 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
856 # We call the target swig-build on the variable SWIG_WRAPPERS
857
858 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
859 @SWIG_TRUE@     @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
860 @SWIG_TRUE@     SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
861 @SWIG_TRUE@     if test -n "$(SWIG_WRAPPERS)"; then \
862 @SWIG_TRUE@             for file in $(SWIG_WRAPPERS) ; do \
863 @SWIG_TRUE@                     echo "Swig process of $$file (Java) ..."; \
864 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
865 @SWIG_TRUE@             done; \
866 @SWIG_TRUE@     fi
867
868 @SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS)
869 @SWIG_TRUE@     @SWIG_OUTDIR=src/swig/; \
870 @SWIG_TRUE@     if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
871 @SWIG_TRUE@             for file in $(SWIG_SCILAB_WRAPPERS) ; do \
872 @SWIG_TRUE@                     echo "Swig process of $$file (Scilab) ..."; \
873 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_SCILAB)  -outdir $$SWIG_OUTDIR $$file; \
874 @SWIG_TRUE@             done; \
875 @SWIG_TRUE@     fi
876
877 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
878 # We call the target swig-build on the variable SWIG_WRAPPERS
879
880 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
881 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/; \
882 @GIWS_TRUE@     MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
883 @GIWS_TRUE@     if test -n "$(GIWS_WRAPPERS)"; then \
884 @GIWS_TRUE@             for file in $(GIWS_WRAPPERS) ; do \
885 @GIWS_TRUE@                     echo "GIWS process of $$file ..."; \
886 @GIWS_TRUE@                     if test -z "$(GIWS_OPTIONS)"; then \
887 @GIWS_TRUE@                             $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
888 @GIWS_TRUE@                     else \
889 @GIWS_TRUE@                             echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
890 @GIWS_TRUE@                             $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
891 @GIWS_TRUE@                     fi \
892 @GIWS_TRUE@             done; \
893 @GIWS_TRUE@     fi
894
895 @GIWS_TRUE@giws-exception:
896 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
897 @GIWS_TRUE@     echo "GIWS: Generation of exception class ..."; \
898 @GIWS_TRUE@     $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR 
899
900 macros:
901         -@( if test ! -x $(top_builddir)/scilab-bin; then \
902                 echo "Error : Cannot build $< : Scilab has not been built"; \
903         else \
904                 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
905         fi)
906
907 # Removes the macros
908 clean-macros:
909 # Removes macros (*.bin generated from .sci)
910         @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
911                 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
912                 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
913         done
914
915 test:
916 # More tests could be added here
917         @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
918         if test -f build.xml -a $$USEANT -eq 1; then \
919                 $(ANT) test; \
920         fi
921
922 all-local: $(TARGETS_ALL)
923
924 .sci.bin:
925         -@( if test ! -x $(top_builddir)/scilab-bin; then \
926         echo "Error : Cannot build $< : Scilab has not been build"; \
927         else \
928         echo "Creating $@"; \
929         $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
930         fi )
931
932 install-html-local:
933
934 install-data-local-local:
935 # Mainly for javasci
936         @if test -d $(srcdir)/javadoc; then \
937                 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
938         fi
939 # If the user wants the help sources to be installed
940 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
941 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
942 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/$$lang; then \
943 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
944 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
945 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
946 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
947 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
948 @INSTALL_HELP_XML_TRUE@           done ; \
949 @INSTALL_HELP_XML_TRUE@         fi; \
950 @INSTALL_HELP_XML_TRUE@  fi; \
951 @INSTALL_HELP_XML_TRUE@ done; \
952 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
953 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/mml/; then \
954 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
955 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
956 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
957 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
958 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
959 @INSTALL_HELP_XML_TRUE@           done ; \
960 @INSTALL_HELP_XML_TRUE@         fi; \
961 @INSTALL_HELP_XML_TRUE@ fi
962 install-data-local:
963 # Install the tests
964         @echo "-------- Install tests (if any) --------"; \
965         for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
966           if test -d $(srcdir)/$$dir/; then \
967             $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
968                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
969                     if test -d "$(srcdir)/$$dir/$$file"; then \
970                           echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
971                           $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
972                     else \
973                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
974                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
975                     fi \
976                   done; \
977           fi; \
978         done
979 # Install the help chapter
980         @echo "-------- Install the help chapter (if any) --------"; \
981         for lang in $(HELP_CHAPTERLANG); do \
982                 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
983                 if test -f $$HELPFILE; then \
984                         echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
985                         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
986                         echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
987                         $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
988                 fi; \
989         done
990 # Install the demos & examples
991         @echo "-------- Install demos & examples (if any) --------"; \
992         for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
993           if test -d $(srcdir)/$$dir/; then \
994             $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
995                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
996                     if test -d "$(srcdir)/$$dir/$$file"; then \
997                           echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
998                           $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
999                     else \
1000                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1001                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1002                     fi \
1003                   done; \
1004           fi; \
1005         done
1006 # Install the macros
1007         @echo "-------- Install macros (if any) --------"; \
1008         for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1009           $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1010                 if test -d $(srcdir)/$$dir/; then \
1011                         FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
1012                         if test -n "$(MACROSSPECIALEXT)"; then \
1013                                 specialExtDir=""; \
1014                                 for specialExt in $(MACROSSPECIALEXT); do \
1015                                         specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
1016                                 done; \
1017                                 FILELIST="$$FILELIST $$specialExtDir"; \
1018                         fi; \
1019                   for file in `ls -1 $$FILELIST 2>/dev/null`; do \
1020                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
1021                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
1022                   done; \
1023                 fi; \
1024         done
1025 # Install java files (.jar)
1026         @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
1027         echo "-------- Install jar files --------"; \
1028     $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
1029           for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
1030                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
1031                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
1032           done ; \
1033         fi
1034
1035 ########### CLEAN ###################
1036 # Clean help (generated automatically by Scilab)
1037 # It used to clean the macro (clean-macros) but this was causing
1038 # make clean && make to fail Scilab startup
1039 @NEED_JAVA_TRUE@clean-local: clean-java
1040 @NEED_JAVA_FALSE@clean-local:
1041
1042 distclean-local:
1043         rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
1044
1045 .PHONY: macros java swig giws
1046
1047 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1048 # Otherwise a system limit (for SysV at least) may be exceeded.
1049 .NOEXPORT: