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