Fix OSX compilation problems
[scilab.git] / scilab / modules / compatibility_functions / Makefile.in
1 # Makefile.in generated by automake 1.15.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2017 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 runstatedir = @runstatedir@
483 sbindir = @sbindir@
484 sharedstatedir = @sharedstatedir@
485 srcdir = @srcdir@
486 sysconfdir = @sysconfdir@
487 target_alias = @target_alias@
488 top_build_prefix = @top_build_prefix@
489 top_builddir = @top_builddir@
490 top_srcdir = @top_srcdir@
491 yacc_present = @yacc_present@
492
493 # Where all the Scilab stuff is installed (macros, help, ...)
494 mydatadir = $(pkgdatadir)/modules/$(modulename)
495
496 # Set AM_* SCI detected settings
497 AM_CPPFLAGS = $(SCI_CPPFLAGS)
498 AM_CFLAGS = $(SCI_CFLAGS)
499 AM_CXXFLAGS = $(SCI_CXXFLAGS)
500 # append includes to AM_FFLAGS to manage fortran includes
501 AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
502
503 # Tag shared libraries with the Scilab version
504 AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
505
506 # splint options
507 SPLINT_OPTIONS = -weak -booltype BOOL
508
509 ########################### JAVA ######################################
510 #### We are delegating java compilation to ant... Thanks to that
511 #### the procedure will be the same with Microsoft Windows (C)
512 #### and Linux/Unix
513 #######################################################################
514 TARGETS_ALL = $(am__append_1)
515
516 ################ MACROS ######################
517 # Rule to build a macro
518 # NOT USED  AT THE MOMENT
519 SUFFIXES = .sci 
520
521 ########### INSTALL DOCUMENTATION ###################
522
523 # Install documentation files into the right target
524 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
525 # automake needs the html files to be present which is not the case when
526 # we are building Scilab
527
528 # Where it should be installed
529 pkgdocdir = $(mydatadir)
530
531 # What is the mask of the help source
532 DOCMASKXML = *.xml
533
534 # What is the mask of the MathML sources
535 DOCMASKMML = *.mml
536
537 ########### INSTALL DATA ###################
538 # Install macros, help & demos
539 # Where it should be installed
540 pkgmacrosdir = $(mydatadir)
541 # Which directory we process
542 MACRODIRS = macros/
543 # Mask of the Scilab sources macros
544 MACROMASK = *.sci
545 # Mask of the Scilab executable sources macros
546 MACROBUILDMASK = *.sce
547 # Mask of the Scilab compiled macros
548 MACROBINMASK = *.bin
549 # List of the standard directory for tests
550 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
551 # Where the demos should be installed
552 pkgdemosdir = $(mydatadir)
553 # List of the standard directory for demos
554 DEMOS_DIR = demos
555 # List of the standard directory for examples
556 EXAMPLES_DIR = examples
557 # Where to export JAVA archives (.jar)
558 JARDIR = jar/
559 # JAR files mask
560 JARMASK = *.jar
561 # Chapter file 
562 HELP_CHAPTERDIR = help/
563 HELP_CHAPTERFILE = addchapter.sce
564 HELP_CHAPTERLANG = en_US fr_FR pt_BR
565
566 #### Target ######
567 modulename = compatibility_functions
568
569 #### compatibility_functions : Conf files ####
570 libscicompatibility_functions_la_rootdir = $(mydatadir)
571 libscicompatibility_functions_la_root_DATA = license.txt 
572
573 #### compatibility_functions : init scripts #### 
574 libscicompatibility_functions_la_etcdir = $(mydatadir)/etc
575 libscicompatibility_functions_la_etc_DATA = etc/compatibility_functions.quit etc/compatibility_functions.start
576 all: all-am
577
578 .SUFFIXES:
579 .SUFFIXES: .sci .bin
580 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
581         @for dep in $?; do \
582           case '$(am__configure_deps)' in \
583             *$$dep*) \
584               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
585                 && { if test -f $@; then exit 0; else break; fi; }; \
586               exit 1;; \
587           esac; \
588         done; \
589         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/compatibility_functions/Makefile'; \
590         $(am__cd) $(top_srcdir) && \
591           $(AUTOMAKE) --foreign modules/compatibility_functions/Makefile
592 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
593         @case '$?' in \
594           *config.status*) \
595             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
596           *) \
597             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
598             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
599         esac;
600 $(top_srcdir)/Makefile.incl.am $(am__empty):
601
602 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
603         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
604
605 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
606         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
607 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
608         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
609 $(am__aclocal_m4_deps):
610
611 mostlyclean-libtool:
612         -rm -f *.lo
613
614 clean-libtool:
615         -rm -rf .libs _libs
616 install-libscicompatibility_functions_la_etcDATA: $(libscicompatibility_functions_la_etc_DATA)
617         @$(NORMAL_INSTALL)
618         @list='$(libscicompatibility_functions_la_etc_DATA)'; test -n "$(libscicompatibility_functions_la_etcdir)" || list=; \
619         if test -n "$$list"; then \
620           echo " $(MKDIR_P) '$(DESTDIR)$(libscicompatibility_functions_la_etcdir)'"; \
621           $(MKDIR_P) "$(DESTDIR)$(libscicompatibility_functions_la_etcdir)" || exit 1; \
622         fi; \
623         for p in $$list; do \
624           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
625           echo "$$d$$p"; \
626         done | $(am__base_list) | \
627         while read files; do \
628           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscicompatibility_functions_la_etcdir)'"; \
629           $(INSTALL_DATA) $$files "$(DESTDIR)$(libscicompatibility_functions_la_etcdir)" || exit $$?; \
630         done
631
632 uninstall-libscicompatibility_functions_la_etcDATA:
633         @$(NORMAL_UNINSTALL)
634         @list='$(libscicompatibility_functions_la_etc_DATA)'; test -n "$(libscicompatibility_functions_la_etcdir)" || list=; \
635         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
636         dir='$(DESTDIR)$(libscicompatibility_functions_la_etcdir)'; $(am__uninstall_files_from_dir)
637 install-libscicompatibility_functions_la_rootDATA: $(libscicompatibility_functions_la_root_DATA)
638         @$(NORMAL_INSTALL)
639         @list='$(libscicompatibility_functions_la_root_DATA)'; test -n "$(libscicompatibility_functions_la_rootdir)" || list=; \
640         if test -n "$$list"; then \
641           echo " $(MKDIR_P) '$(DESTDIR)$(libscicompatibility_functions_la_rootdir)'"; \
642           $(MKDIR_P) "$(DESTDIR)$(libscicompatibility_functions_la_rootdir)" || exit 1; \
643         fi; \
644         for p in $$list; do \
645           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
646           echo "$$d$$p"; \
647         done | $(am__base_list) | \
648         while read files; do \
649           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscicompatibility_functions_la_rootdir)'"; \
650           $(INSTALL_DATA) $$files "$(DESTDIR)$(libscicompatibility_functions_la_rootdir)" || exit $$?; \
651         done
652
653 uninstall-libscicompatibility_functions_la_rootDATA:
654         @$(NORMAL_UNINSTALL)
655         @list='$(libscicompatibility_functions_la_root_DATA)'; test -n "$(libscicompatibility_functions_la_rootdir)" || list=; \
656         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
657         dir='$(DESTDIR)$(libscicompatibility_functions_la_rootdir)'; $(am__uninstall_files_from_dir)
658 tags TAGS:
659
660 ctags CTAGS:
661
662 cscope cscopelist:
663
664
665 distdir: $(DISTFILES)
666         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
667         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
668         list='$(DISTFILES)'; \
669           dist_files=`for file in $$list; do echo $$file; done | \
670           sed -e "s|^$$srcdirstrip/||;t" \
671               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
672         case $$dist_files in \
673           */*) $(MKDIR_P) `echo "$$dist_files" | \
674                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
675                            sort -u` ;; \
676         esac; \
677         for file in $$dist_files; do \
678           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
679           if test -d $$d/$$file; then \
680             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
681             if test -d "$(distdir)/$$file"; then \
682               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
683             fi; \
684             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
685               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
686               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
687             fi; \
688             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
689           else \
690             test -f "$(distdir)/$$file" \
691             || cp -p $$d/$$file "$(distdir)/$$file" \
692             || exit 1; \
693           fi; \
694         done
695 check-am: all-am
696         $(MAKE) $(AM_MAKEFLAGS) check-local
697 check: check-am
698 all-am: Makefile $(DATA) all-local
699 installdirs:
700         for dir in "$(DESTDIR)$(libscicompatibility_functions_la_etcdir)" "$(DESTDIR)$(libscicompatibility_functions_la_rootdir)"; do \
701           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
702         done
703 install: install-am
704 install-exec: install-exec-am
705 install-data: install-data-am
706 uninstall: uninstall-am
707
708 install-am: all-am
709         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
710
711 installcheck: installcheck-am
712 install-strip:
713         if test -z '$(STRIP)'; then \
714           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
715             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
716               install; \
717         else \
718           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
719             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
720             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
721         fi
722 mostlyclean-generic:
723
724 clean-generic:
725
726 distclean-generic:
727         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
728         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
729
730 maintainer-clean-generic:
731         @echo "This command is intended for maintainers to use"
732         @echo "it deletes files that may require special tools to rebuild."
733 clean: clean-am
734
735 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
736
737 distclean: distclean-am
738         -rm -f Makefile
739 distclean-am: clean-am distclean-generic distclean-local
740
741 dvi: dvi-am
742
743 dvi-am:
744
745 html: html-am
746
747 html-am:
748
749 info: info-am
750
751 info-am:
752
753 install-data-am: install-data-local \
754         install-libscicompatibility_functions_la_etcDATA \
755         install-libscicompatibility_functions_la_rootDATA
756
757 install-dvi: install-dvi-am
758
759 install-dvi-am:
760
761 install-exec-am:
762
763 install-html: install-html-am
764
765 install-html-am: install-html-local
766
767 install-info: install-info-am
768
769 install-info-am:
770
771 install-man:
772
773 install-pdf: install-pdf-am
774
775 install-pdf-am:
776
777 install-ps: install-ps-am
778
779 install-ps-am:
780
781 installcheck-am:
782
783 maintainer-clean: maintainer-clean-am
784         -rm -f Makefile
785 maintainer-clean-am: distclean-am maintainer-clean-generic
786
787 mostlyclean: mostlyclean-am
788
789 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
790
791 pdf: pdf-am
792
793 pdf-am:
794
795 ps: ps-am
796
797 ps-am:
798
799 uninstall-am: uninstall-libscicompatibility_functions_la_etcDATA \
800         uninstall-libscicompatibility_functions_la_rootDATA
801
802 .MAKE: check-am install-am install-strip
803
804 .PHONY: all all-am all-local check check-am check-local clean \
805         clean-generic clean-libtool clean-local cscopelist-am ctags-am \
806         distclean distclean-generic distclean-libtool distclean-local \
807         distdir dvi dvi-am html html-am info info-am install \
808         install-am install-data install-data-am install-data-local \
809         install-dvi install-dvi-am install-exec install-exec-am \
810         install-html install-html-am install-html-local install-info \
811         install-info-am \
812         install-libscicompatibility_functions_la_etcDATA \
813         install-libscicompatibility_functions_la_rootDATA install-man \
814         install-pdf install-pdf-am install-ps install-ps-am \
815         install-strip installcheck installcheck-am installdirs \
816         maintainer-clean maintainer-clean-generic mostlyclean \
817         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
818         tags-am uninstall uninstall-am \
819         uninstall-libscicompatibility_functions_la_etcDATA \
820         uninstall-libscicompatibility_functions_la_rootDATA
821
822 .PRECIOUS: Makefile
823
824
825 # This target enables tests for Scilab
826 check-local: $(top_builddir)/scilab-bin test
827         if test -d $(mydatadir)/tests; then \
828           @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
829         fi
830 check-code:
831         if test -f build.xml; then \
832                 $(ANT) checkstyle; \
833         fi
834         if test -x "$(SPLINT)"; then \
835                 $(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); \
836         fi
837 @NEED_JAVA_TRUE@java:
838 # Some configurations needs to export JAVA_HOME in the current env
839 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
840 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
841 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
842 @NEED_JAVA_TRUE@                $(ANT); \
843 @NEED_JAVA_TRUE@        fi
844
845 @NEED_JAVA_TRUE@clean-java:
846 # Some configurations needs to export JAVA_HOME in the current env
847 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
848 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
849 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
850 @NEED_JAVA_TRUE@                $(ANT) clean; \
851 @NEED_JAVA_TRUE@        fi;
852
853 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
854 # We call the target swig-build on the variable SWIG_WRAPPERS
855
856 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
857 @SWIG_TRUE@     @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
858 @SWIG_TRUE@     SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
859 @SWIG_TRUE@     if test -n "$(SWIG_WRAPPERS)"; then \
860 @SWIG_TRUE@             for file in $(SWIG_WRAPPERS) ; do \
861 @SWIG_TRUE@                     echo "Swig process of $$file (Java) ..."; \
862 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
863 @SWIG_TRUE@             done; \
864 @SWIG_TRUE@     fi
865
866 @SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS)
867 @SWIG_TRUE@     @SWIG_OUTDIR=src/swig/; \
868 @SWIG_TRUE@     if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
869 @SWIG_TRUE@             for file in $(SWIG_SCILAB_WRAPPERS) ; do \
870 @SWIG_TRUE@                     echo "Swig process of $$file (Scilab) ..."; \
871 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_SCILAB)  -outdir $$SWIG_OUTDIR $$file; \
872 @SWIG_TRUE@             done; \
873 @SWIG_TRUE@     fi
874
875 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
876 # We call the target swig-build on the variable SWIG_WRAPPERS
877
878 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
879 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/; \
880 @GIWS_TRUE@     MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
881 @GIWS_TRUE@     if test -n "$(GIWS_WRAPPERS)"; then \
882 @GIWS_TRUE@             for file in $(GIWS_WRAPPERS) ; do \
883 @GIWS_TRUE@                     echo "GIWS process of $$file ..."; \
884 @GIWS_TRUE@                     if test -z "$(GIWS_OPTIONS)"; then \
885 @GIWS_TRUE@                             $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
886 @GIWS_TRUE@                     else \
887 @GIWS_TRUE@                             echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
888 @GIWS_TRUE@                             $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
889 @GIWS_TRUE@                     fi \
890 @GIWS_TRUE@             done; \
891 @GIWS_TRUE@     fi
892
893 @GIWS_TRUE@giws-exception:
894 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
895 @GIWS_TRUE@     echo "GIWS: Generation of exception class ..."; \
896 @GIWS_TRUE@     $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR 
897
898 macros:
899         -@( if test ! -x $(top_builddir)/scilab-bin; then \
900                 echo "Error : Cannot build $< : Scilab has not been built"; \
901         else \
902                 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
903         fi)
904
905 # Removes the macros
906 clean-macros:
907 # Removes macros (*.bin generated from .sci)
908         @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
909                 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
910                 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
911         done
912
913 test:
914 # More tests could be added here
915         @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
916         if test -f build.xml -a $$USEANT -eq 1; then \
917                 $(ANT) test; \
918         fi
919
920 all-local: $(TARGETS_ALL)
921
922 .sci.bin:
923         -@( if test ! -x $(top_builddir)/scilab-bin; then \
924         echo "Error : Cannot build $< : Scilab has not been build"; \
925         else \
926         echo "Creating $@"; \
927         $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
928         fi )
929
930 install-html-local:
931
932 install-data-local-local:
933 # Mainly for javasci
934         @if test -d $(srcdir)/javadoc; then \
935                 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
936         fi
937 # If the user wants the help sources to be installed
938 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
939 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
940 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/$$lang; then \
941 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
942 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
943 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
944 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
945 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
946 @INSTALL_HELP_XML_TRUE@           done ; \
947 @INSTALL_HELP_XML_TRUE@         fi; \
948 @INSTALL_HELP_XML_TRUE@  fi; \
949 @INSTALL_HELP_XML_TRUE@ done; \
950 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
951 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/mml/; then \
952 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
953 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
954 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
955 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
956 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
957 @INSTALL_HELP_XML_TRUE@           done ; \
958 @INSTALL_HELP_XML_TRUE@         fi; \
959 @INSTALL_HELP_XML_TRUE@ fi
960 install-data-local:
961 # Install the tests
962         @echo "-------- Install tests (if any) --------"; \
963         for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
964           if test -d $(srcdir)/$$dir/; then \
965             $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
966                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
967                     if test -d "$(srcdir)/$$dir/$$file"; then \
968                           echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
969                           $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
970                     else \
971                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
972                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
973                     fi \
974                   done; \
975           fi; \
976         done
977 # Install the help chapter
978         @echo "-------- Install the help chapter (if any) --------"; \
979         for lang in $(HELP_CHAPTERLANG); do \
980                 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
981                 if test -f $$HELPFILE; then \
982                         echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
983                         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
984                         echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
985                         $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
986                 fi; \
987         done
988 # Install the demos & examples
989         @echo "-------- Install demos & examples (if any) --------"; \
990         for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
991           if test -d $(srcdir)/$$dir/; then \
992             $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
993                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
994                     if test -d "$(srcdir)/$$dir/$$file"; then \
995                           echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
996                           $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
997                     else \
998                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
999                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1000                     fi \
1001                   done; \
1002           fi; \
1003         done
1004 # Install the macros
1005         @echo "-------- Install macros (if any) --------"; \
1006         for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1007           $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1008                 if test -d $(srcdir)/$$dir/; then \
1009                         FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
1010                         if test -n "$(MACROSSPECIALEXT)"; then \
1011                                 specialExtDir=""; \
1012                                 for specialExt in $(MACROSSPECIALEXT); do \
1013                                         specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
1014                                 done; \
1015                                 FILELIST="$$FILELIST $$specialExtDir"; \
1016                         fi; \
1017                   for file in `ls -1 $$FILELIST 2>/dev/null`; do \
1018                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
1019                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
1020                   done; \
1021                 fi; \
1022         done
1023 # Install java files (.jar)
1024         @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
1025         echo "-------- Install jar files --------"; \
1026     $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
1027           for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
1028                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
1029                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
1030           done ; \
1031         fi
1032
1033 ########### CLEAN ###################
1034 # Clean help (generated automatically by Scilab)
1035 # It used to clean the macro (clean-macros) but this was causing
1036 # make clean && make to fail Scilab startup
1037 @NEED_JAVA_TRUE@clean-local: clean-java
1038 @NEED_JAVA_FALSE@clean-local:
1039
1040 distclean-local:
1041         rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
1042
1043 .PHONY: macros java swig giws
1044
1045 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1046 # Otherwise a system limit (for SysV at least) may be exceeded.
1047 .NOEXPORT: