1 # Makefile.in generated by automake 1.15.1 from Makefile.am.
4 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
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.
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
17 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
18 # Copyright (C) 2006 - INRIA - Sylvestre Ledru <sylvestre.ledru@inria.fr>
20 # This file is distributed under the same license as the Scilab package.
22 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
23 # Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
24 # Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
26 # Copyright (C) 2012 - 2016 - Scilab Enterprises
28 # This file is hereby licensed under the terms of the GNU GPL v2.0,
29 # pursuant to article 5.3.4 of the CeCILL v.2.1.
30 # This file was originally licensed under the terms of the CeCILL v2.1,
31 # and continues to be available under such terms.
32 # For more information, see the COPYING file which you should have received
33 # along with this program.
37 ### Makefile included stuff
38 ### Target, variable, suffixes which are supposed to be useful in every makefile.am
43 if test -z '$(MAKELEVEL)'; then \
45 elif test -n '$(MAKE_HOST)'; then \
47 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
53 am__make_running_with_option = \
54 case $${target_option-} in \
56 *) echo "am__make_running_with_option: internal error: invalid" \
57 "target option '$${target_option-}' specified" >&2; \
61 sane_makeflags=$$MAKEFLAGS; \
62 if $(am__is_gnu_make); then \
63 sane_makeflags=$$MFLAGS; \
68 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
69 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
75 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
77 for flg in $$sane_makeflags; do \
78 test $$skip_next = yes && { skip_next=no; continue; }; \
81 -*I) strip_trailopt 'I'; skip_next=yes;; \
82 -*I?*) strip_trailopt 'I';; \
83 -*O) strip_trailopt 'O'; skip_next=yes;; \
84 -*O?*) strip_trailopt 'O';; \
85 -*l) strip_trailopt 'l'; skip_next=yes;; \
86 -*l?*) strip_trailopt 'l';; \
87 -[dEDm]) skip_next=yes;; \
88 -[JT]) skip_next=yes;; \
91 *$$target_option*) has_opt=yes; break;; \
95 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
96 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
97 pkgdatadir = $(datadir)/@PACKAGE@
98 pkgincludedir = $(includedir)/@PACKAGE@
99 pkglibdir = $(libdir)/@PACKAGE@
100 pkglibexecdir = $(libexecdir)/@PACKAGE@
101 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
102 install_sh_DATA = $(install_sh) -c -m 644
103 install_sh_PROGRAM = $(install_sh) -c
104 install_sh_SCRIPT = $(install_sh) -c
105 INSTALL_HEADER = $(INSTALL_DATA)
106 transform = $(program_transform_name)
113 build_triplet = @build@
114 host_triplet = @host@
115 @NEED_JAVA_TRUE@am__append_1 = java
116 subdir = modules/m2sci
117 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
118 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cxx_compile_stdcxx_11.m4 \
119 $(top_srcdir)/m4/backtrace.m4 $(top_srcdir)/m4/compiler.m4 \
120 $(top_srcdir)/m4/curl.m4 $(top_srcdir)/m4/docbook.m4 \
121 $(top_srcdir)/m4/doxygen.m4 $(top_srcdir)/m4/eigen.m4 \
122 $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
123 $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
124 $(top_srcdir)/m4/intel_compiler.m4 \
125 $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
126 $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
127 $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
128 $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
129 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
130 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
131 $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \
132 $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \
133 $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \
134 $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \
135 $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac
136 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
138 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
139 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
140 CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
142 CONFIG_CLEAN_VPATH_FILES =
143 AM_V_P = $(am__v_P_@AM_V@)
144 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
147 AM_V_GEN = $(am__v_GEN_@AM_V@)
148 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
149 am__v_GEN_0 = @echo " GEN " $@;
151 AM_V_at = $(am__v_at_@AM_V@)
152 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
157 am__can_run_installinfo = \
158 case $$AM_UPDATE_INFO_DIR in \
160 *) (install-info --version) >/dev/null 2>&1;; \
162 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
163 am__vpath_adj = case $$p in \
164 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
167 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
169 am__nobase_strip_setup = \
170 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
172 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
173 am__nobase_list = $(am__nobase_strip_setup); \
174 for p in $$list; do echo "$$p $$p"; done | \
175 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
176 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
177 if (++n[$$2] == $(am__install_max)) \
178 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
179 END { for (dir in files) print dir, files[dir] }'
181 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
182 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
183 am__uninstall_files_from_dir = { \
185 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
186 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
187 $(am__cd) "$$dir" && rm -f $$files; }; \
189 am__installdirs = "$(DESTDIR)$(libm2sci_la_etcdir)" \
190 "$(DESTDIR)$(libm2sci_la_rootdir)"
191 DATA = $(libm2sci_la_etc_DATA) $(libm2sci_la_root_DATA)
192 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
193 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am \
194 $(top_srcdir)/config/mkinstalldirs
195 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
197 ALL_LINGUAS = @ALL_LINGUAS@
198 ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
200 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
204 ARPACK_LIBS = @ARPACK_LIBS@
206 AUTOCONF = @AUTOCONF@
207 AUTOHEADER = @AUTOHEADER@
208 AUTOMAKE = @AUTOMAKE@
209 AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
212 BLAS_CFLAGS = @BLAS_CFLAGS@
213 BLAS_LIBS = @BLAS_LIBS@
216 CCDEPMODE = @CCDEPMODE@
218 CHECKSTYLE = @CHECKSTYLE@
219 COBERTURA = @COBERTURA@
220 COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
221 COMMONS_IO = @COMMONS_IO@
222 COMMONS_LOGGING = @COMMONS_LOGGING@
224 CPPFLAGS = @CPPFLAGS@
225 CURL_CFLAGS = @CURL_CFLAGS@
226 CURL_CONFIG = @CURL_CONFIG@
227 CURL_LIBS = @CURL_LIBS@
228 CURL_VERSION = @CURL_VERSION@
231 CXXDEPMODE = @CXXDEPMODE@
232 CXXFLAGS = @CXXFLAGS@
233 CYGPATH_W = @CYGPATH_W@
235 DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
238 DOCBOOK_ROOT = @DOCBOOK_ROOT@
239 DOXYGEN_BIN = @DOXYGEN_BIN@
240 DSYMUTIL = @DSYMUTIL@
247 EIGEN_CPPFLAGS = @EIGEN_CPPFLAGS@
251 FFTW3_LIB = @FFTW3_LIB@
252 FFTW_ENABLE = @FFTW_ENABLE@
254 FLEXDOCK = @FLEXDOCK@
257 FREEHEP_GRAPHICS2D = @FREEHEP_GRAPHICS2D@
258 FREEHEP_GRAPHICSIO = @FREEHEP_GRAPHICSIO@
259 FREEHEP_GRAPHICSIO_EMF = @FREEHEP_GRAPHICSIO_EMF@
260 FREEHEP_IO = @FREEHEP_IO@
261 FREEHEP_UTIL = @FREEHEP_UTIL@
263 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
264 GIWS_BIN = @GIWS_BIN@
265 GLUEGEN2_RT = @GLUEGEN2_RT@
267 GMSGFMT_015 = @GMSGFMT_015@
268 GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
270 GUI_ENABLE = @GUI_ENABLE@
271 HAMCREST = @HAMCREST@
272 HAVE_CXX11 = @HAVE_CXX11@
273 HDF5_CFLAGS = @HDF5_CFLAGS@
274 HDF5_LIBS = @HDF5_LIBS@
275 HELP_ENABLE = @HELP_ENABLE@
277 INSTALL_DATA = @INSTALL_DATA@
278 INSTALL_PROGRAM = @INSTALL_PROGRAM@
279 INSTALL_SCRIPT = @INSTALL_SCRIPT@
280 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
281 INTLLIBS = @INTLLIBS@
282 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
286 JAVAC_DEBUG = @JAVAC_DEBUG@
289 JAVASCI_ENABLE = @JAVASCI_ENABLE@
290 JAVA_ENABLE = @JAVA_ENABLE@
292 JAVA_HOME = @JAVA_HOME@
293 JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
294 JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
296 JEUCLID_CORE = @JEUCLID_CORE@
299 JLATEXMATH = @JLATEXMATH@
300 JLATEXMATH_FOP = @JLATEXMATH_FOP@
302 JROSETTA_API = @JROSETTA_API@
303 JROSETTA_ENGINE = @JROSETTA_ENGINE@
305 LAPACK_LIBS = @LAPACK_LIBS@
311 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
312 LIBICONV = @LIBICONV@
320 LOGGING_LEVEL = @LOGGING_LEVEL@
322 LTLIBICONV = @LTLIBICONV@
323 LTLIBINTL = @LTLIBINTL@
324 LTLIBOBJS = @LTLIBOBJS@
325 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
327 LUCENE_ANALYZER = @LUCENE_ANALYZER@
328 LUCENE_PARSER = @LUCENE_PARSER@
330 MAKEINFO = @MAKEINFO@
331 MANIFEST_TOOL = @MANIFEST_TOOL@
332 MATIO_CFLAGS = @MATIO_CFLAGS@
333 MATIO_ENABLE = @MATIO_ENABLE@
334 MATIO_LIBS = @MATIO_LIBS@
336 MPI_ENABLE = @MPI_ENABLE@
339 MSGFMT_015 = @MSGFMT_015@
340 MSGMERGE = @MSGMERGE@
346 OCAMLDEP = @OCAMLDEP@
347 OCAMLLEX = @OCAMLLEX@
348 OCAMLOPT = @OCAMLOPT@
349 OCAMLYACC = @OCAMLYACC@
350 OPENMPI_CC = @OPENMPI_CC@
351 OPENMPI_CFLAGS = @OPENMPI_CFLAGS@
352 OPENMPI_CXX = @OPENMPI_CXX@
353 OPENMPI_CXXFLAGS = @OPENMPI_CXXFLAGS@
354 OPENMPI_LIBS = @OPENMPI_LIBS@
355 OPENMP_CFLAGS = @OPENMP_CFLAGS@
356 OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
357 OPENMP_ENABLE = @OPENMP_ENABLE@
358 OPENMP_LIBS = @OPENMP_LIBS@
362 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
363 PACKAGE_NAME = @PACKAGE_NAME@
364 PACKAGE_STRING = @PACKAGE_STRING@
365 PACKAGE_TARNAME = @PACKAGE_TARNAME@
366 PACKAGE_URL = @PACKAGE_URL@
367 PACKAGE_VERSION = @PACKAGE_VERSION@
368 PATH_SEPARATOR = @PATH_SEPARATOR@
369 PCRE_CFLAGS = @PCRE_CFLAGS@
370 PCRE_CONFIG = @PCRE_CONFIG@
371 PCRE_LIBS = @PCRE_LIBS@
372 PCRE_VERSION = @PCRE_VERSION@
373 PKG_CONFIG = @PKG_CONFIG@
378 RELOCATABLE = @RELOCATABLE@
381 SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
382 SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
383 SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
384 SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
385 SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
386 SCIRENDERER = @SCIRENDERER@
387 SCIRENDERER_CP = @SCIRENDERER_CP@
388 SCI_CFLAGS = @SCI_CFLAGS@
389 SCI_CXXFLAGS = @SCI_CXXFLAGS@
390 SCI_FFLAGS = @SCI_FFLAGS@
391 SCI_LDFLAGS = @SCI_LDFLAGS@
393 SET_MAKE = @SET_MAKE@
394 SET_RELOCATABLE = @SET_RELOCATABLE@
399 SWIG_BIN = @SWIG_BIN@
400 SWIG_JAVA = @SWIG_JAVA@
401 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
402 SWIG_SCILAB = @SWIG_SCILAB@
403 TCLTK_LIBS = @TCLTK_LIBS@
404 TCL_INC_PATH = @TCL_INC_PATH@
405 TK_INC_PATH = @TK_INC_PATH@
406 UMFPACK_CFLAGS = @UMFPACK_CFLAGS@
407 UMFPACK_ENABLE = @UMFPACK_ENABLE@
408 UMFPACK_LIB = @UMFPACK_LIB@
410 VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
411 VALGRIND_LIBS = @VALGRIND_LIBS@
413 WITH_OCAML = @WITH_OCAML@
414 WITH_TKSCI = @WITH_TKSCI@
415 XCOS_ENABLE = @XCOS_ENABLE@
416 XGETTEXT = @XGETTEXT@
417 XGETTEXT_015 = @XGETTEXT_015@
418 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
420 XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
421 XML_APIS_EXT = @XML_APIS_EXT@
422 XML_CONFIG = @XML_CONFIG@
423 XML_FLAGS = @XML_FLAGS@
424 XML_LIBS = @XML_LIBS@
425 XML_VERSION = @XML_VERSION@
426 X_CFLAGS = @X_CFLAGS@
427 X_EXTRA_LIBS = @X_EXTRA_LIBS@
429 X_PRE_LIBS = @X_PRE_LIBS@
432 abs_builddir = @abs_builddir@
433 abs_srcdir = @abs_srcdir@
434 abs_top_builddir = @abs_top_builddir@
435 abs_top_srcdir = @abs_top_srcdir@
436 ac_ct_AR = @ac_ct_AR@
437 ac_ct_CC = @ac_ct_CC@
438 ac_ct_CXX = @ac_ct_CXX@
439 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
440 ac_ct_F77 = @ac_ct_F77@
441 am__include = @am__include@
442 am__leading_dot = @am__leading_dot@
443 am__quote = @am__quote@
445 am__untar = @am__untar@
448 build_alias = @build_alias@
449 build_cpu = @build_cpu@
450 build_os = @build_os@
451 build_vendor = @build_vendor@
452 builddir = @builddir@
453 cxx_present = @cxx_present@
455 datarootdir = @datarootdir@
458 exec_prefix = @exec_prefix@
460 host_alias = @host_alias@
461 host_cpu = @host_cpu@
463 host_vendor = @host_vendor@
465 includedir = @includedir@
467 install_sh = @install_sh@
469 libexecdir = @libexecdir@
470 localedir = @localedir@
471 localstatedir = @localstatedir@
474 oldincludedir = @oldincludedir@
477 program_transform_name = @program_transform_name@
479 runstatedir = @runstatedir@
481 sharedstatedir = @sharedstatedir@
483 sysconfdir = @sysconfdir@
484 target_alias = @target_alias@
485 top_build_prefix = @top_build_prefix@
486 top_builddir = @top_builddir@
487 top_srcdir = @top_srcdir@
488 yacc_present = @yacc_present@
493 #### m2sci : Conf files ####
494 libm2sci_la_rootdir = $(mydatadir)
495 libm2sci_la_root_DATA = license.txt
497 #### m2sci : Macros ####
498 MACROSDIRSEXT = macros/kernel macros/percent macros/sci_files
500 ####�m2sci : init scripts ####
501 libm2sci_la_etcdir = $(mydatadir)/etc
502 libm2sci_la_etc_DATA = etc/m2sci.quit etc/m2sci.start
504 # Where all the Scilab stuff is installed (macros, help, ...)
505 mydatadir = $(pkgdatadir)/modules/$(modulename)
507 # Set AM_* SCI detected settings
508 AM_CPPFLAGS = $(SCI_CPPFLAGS)
509 AM_CFLAGS = $(SCI_CFLAGS)
510 AM_CXXFLAGS = $(SCI_CXXFLAGS)
511 # append includes to AM_FFLAGS to manage fortran includes
512 AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
514 # Tag shared libraries with the Scilab version
515 AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
518 SPLINT_OPTIONS = -weak -booltype BOOL
520 ########################### JAVA ######################################
521 #### We are delegating java compilation to ant... Thanks to that
522 #### the procedure will be the same with Microsoft Windows (C)
524 #######################################################################
525 TARGETS_ALL = $(am__append_1)
527 ################ MACROS ######################
528 # Rule to build a macro
529 # NOT USED AT THE MOMENT
532 ########### INSTALL DOCUMENTATION ###################
534 # Install documentation files into the right target
535 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
536 # automake needs the html files to be present which is not the case when
537 # we are building Scilab
539 # Where it should be installed
540 pkgdocdir = $(mydatadir)
542 # What is the mask of the help source
545 # What is the mask of the MathML sources
548 ########### INSTALL DATA ###################
549 # Install macros, help & demos
550 # Where it should be installed
551 pkgmacrosdir = $(mydatadir)
552 # Which directory we process
554 # Mask of the Scilab sources macros
556 # Mask of the Scilab executable sources macros
557 MACROBUILDMASK = *.sce
558 # Mask of the Scilab compiled macros
560 # List of the standard directory for tests
561 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
562 # Where the demos should be installed
563 pkgdemosdir = $(mydatadir)
564 # List of the standard directory for demos
566 # List of the standard directory for examples
567 EXAMPLES_DIR = examples
568 # Where to export JAVA archives (.jar)
573 HELP_CHAPTERDIR = help/
574 HELP_CHAPTERFILE = addchapter.sce
575 HELP_CHAPTERLANG = en_US fr_FR pt_BR
580 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
582 case '$(am__configure_deps)' in \
584 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
585 && { if test -f $@; then exit 0; else break; fi; }; \
589 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/m2sci/Makefile'; \
590 $(am__cd) $(top_srcdir) && \
591 $(AUTOMAKE) --foreign modules/m2sci/Makefile
592 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
595 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
597 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
598 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
600 $(top_srcdir)/Makefile.incl.am $(am__empty):
602 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
603 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
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):
616 install-libm2sci_la_etcDATA: $(libm2sci_la_etc_DATA)
618 @list='$(libm2sci_la_etc_DATA)'; test -n "$(libm2sci_la_etcdir)" || list=; \
619 if test -n "$$list"; then \
620 echo " $(MKDIR_P) '$(DESTDIR)$(libm2sci_la_etcdir)'"; \
621 $(MKDIR_P) "$(DESTDIR)$(libm2sci_la_etcdir)" || exit 1; \
623 for p in $$list; do \
624 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
626 done | $(am__base_list) | \
627 while read files; do \
628 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libm2sci_la_etcdir)'"; \
629 $(INSTALL_DATA) $$files "$(DESTDIR)$(libm2sci_la_etcdir)" || exit $$?; \
632 uninstall-libm2sci_la_etcDATA:
634 @list='$(libm2sci_la_etc_DATA)'; test -n "$(libm2sci_la_etcdir)" || list=; \
635 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
636 dir='$(DESTDIR)$(libm2sci_la_etcdir)'; $(am__uninstall_files_from_dir)
637 install-libm2sci_la_rootDATA: $(libm2sci_la_root_DATA)
639 @list='$(libm2sci_la_root_DATA)'; test -n "$(libm2sci_la_rootdir)" || list=; \
640 if test -n "$$list"; then \
641 echo " $(MKDIR_P) '$(DESTDIR)$(libm2sci_la_rootdir)'"; \
642 $(MKDIR_P) "$(DESTDIR)$(libm2sci_la_rootdir)" || exit 1; \
644 for p in $$list; do \
645 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
647 done | $(am__base_list) | \
648 while read files; do \
649 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libm2sci_la_rootdir)'"; \
650 $(INSTALL_DATA) $$files "$(DESTDIR)$(libm2sci_la_rootdir)" || exit $$?; \
653 uninstall-libm2sci_la_rootDATA:
655 @list='$(libm2sci_la_root_DATA)'; test -n "$(libm2sci_la_rootdir)" || list=; \
656 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
657 dir='$(DESTDIR)$(libm2sci_la_rootdir)'; $(am__uninstall_files_from_dir)
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,/[^/]*$$,,' | \
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 {} \;; \
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 {} \;; \
688 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
690 test -f "$(distdir)/$$file" \
691 || cp -p $$d/$$file "$(distdir)/$$file" \
696 $(MAKE) $(AM_MAKEFLAGS) check-local
698 all-am: Makefile $(DATA) all-local
700 for dir in "$(DESTDIR)$(libm2sci_la_etcdir)" "$(DESTDIR)$(libm2sci_la_rootdir)"; do \
701 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
704 install-exec: install-exec-am
705 install-data: install-data-am
706 uninstall: uninstall-am
709 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
711 installcheck: installcheck-am
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 \
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; \
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)
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."
735 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
737 distclean: distclean-am
739 distclean-am: clean-am distclean-generic distclean-local
753 install-data-am: install-data-local install-libm2sci_la_etcDATA \
754 install-libm2sci_la_rootDATA
756 install-dvi: install-dvi-am
762 install-html: install-html-am
764 install-html-am: install-html-local
766 install-info: install-info-am
772 install-pdf: install-pdf-am
776 install-ps: install-ps-am
782 maintainer-clean: maintainer-clean-am
784 maintainer-clean-am: distclean-am maintainer-clean-generic
786 mostlyclean: mostlyclean-am
788 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
798 uninstall-am: uninstall-libm2sci_la_etcDATA \
799 uninstall-libm2sci_la_rootDATA
801 .MAKE: check-am install-am install-strip
803 .PHONY: all all-am all-local check check-am check-local clean \
804 clean-generic clean-libtool clean-local cscopelist-am ctags-am \
805 distclean distclean-generic distclean-libtool distclean-local \
806 distdir dvi dvi-am html html-am info info-am install \
807 install-am install-data install-data-am install-data-local \
808 install-dvi install-dvi-am install-exec install-exec-am \
809 install-html install-html-am install-html-local install-info \
810 install-info-am install-libm2sci_la_etcDATA \
811 install-libm2sci_la_rootDATA install-man install-pdf \
812 install-pdf-am install-ps install-ps-am install-strip \
813 installcheck installcheck-am installdirs maintainer-clean \
814 maintainer-clean-generic mostlyclean mostlyclean-generic \
815 mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
816 uninstall-am uninstall-libm2sci_la_etcDATA \
817 uninstall-libm2sci_la_rootDATA
822 # This target enables tests for Scilab
823 check-local: $(top_builddir)/scilab-bin test
824 if test -d $(mydatadir)/tests; then \
825 @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
828 if test -f build.xml; then \
831 if test -x "$(SPLINT)"; then \
832 $(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); \
834 @NEED_JAVA_TRUE@java:
835 # Some configurations needs to export JAVA_HOME in the current env
836 @NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
837 @NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
838 @NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
839 @NEED_JAVA_TRUE@ $(ANT); \
842 @NEED_JAVA_TRUE@clean-java:
843 # Some configurations needs to export JAVA_HOME in the current env
844 @NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
845 @NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
846 @NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
847 @NEED_JAVA_TRUE@ $(ANT) clean; \
850 # If the user request for the SWIG generation of the wrappers Java => C/C++
851 # We call the target swig-build on the variable SWIG_WRAPPERS
853 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
854 @SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
855 @SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
856 @SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \
857 @SWIG_TRUE@ for file in $(SWIG_WRAPPERS) ; do \
858 @SWIG_TRUE@ echo "Swig process of $$file (Java) ..."; \
859 @SWIG_TRUE@ $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \
863 @SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS)
864 @SWIG_TRUE@ @SWIG_OUTDIR=src/swig/; \
865 @SWIG_TRUE@ if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
866 @SWIG_TRUE@ for file in $(SWIG_SCILAB_WRAPPERS) ; do \
867 @SWIG_TRUE@ echo "Swig process of $$file (Scilab) ..."; \
868 @SWIG_TRUE@ $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \
872 # If the user request for the SWIG generation of the wrappers Java => C/C++
873 # We call the target swig-build on the variable SWIG_WRAPPERS
875 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
876 @GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/; \
877 @GIWS_TRUE@ MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
878 @GIWS_TRUE@ if test -n "$(GIWS_WRAPPERS)"; then \
879 @GIWS_TRUE@ for file in $(GIWS_WRAPPERS) ; do \
880 @GIWS_TRUE@ echo "GIWS process of $$file ..."; \
881 @GIWS_TRUE@ if test -z "$(GIWS_OPTIONS)"; then \
882 @GIWS_TRUE@ $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
884 @GIWS_TRUE@ echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
885 @GIWS_TRUE@ $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
890 @GIWS_TRUE@giws-exception:
891 @GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
892 @GIWS_TRUE@ echo "GIWS: Generation of exception class ..."; \
893 @GIWS_TRUE@ $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR
896 -@( if test ! -x $(top_builddir)/scilab-bin; then \
897 echo "Error : Cannot build $< : Scilab has not been built"; \
899 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
904 # Removes macros (*.bin generated from .sci)
905 @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
906 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
907 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
911 # More tests could be added here
912 @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
913 if test -f build.xml -a $$USEANT -eq 1; then \
917 all-local: $(TARGETS_ALL)
920 -@( if test ! -x $(top_builddir)/scilab-bin; then \
921 echo "Error : Cannot build $< : Scilab has not been build"; \
923 echo "Creating $@"; \
924 $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
929 install-data-local-local:
931 @if test -d $(srcdir)/javadoc; then \
932 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
934 # If the user wants the help sources to be installed
935 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
936 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
937 @INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/$$lang; then \
938 @INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
939 @INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
940 @INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
941 @INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
942 @INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
943 @INSTALL_HELP_XML_TRUE@ done ; \
944 @INSTALL_HELP_XML_TRUE@ fi; \
945 @INSTALL_HELP_XML_TRUE@ fi; \
946 @INSTALL_HELP_XML_TRUE@ done; \
947 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
948 @INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/mml/; then \
949 @INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
950 @INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
951 @INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
952 @INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
953 @INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
954 @INSTALL_HELP_XML_TRUE@ done ; \
955 @INSTALL_HELP_XML_TRUE@ fi; \
956 @INSTALL_HELP_XML_TRUE@ fi
959 @echo "-------- Install tests (if any) --------"; \
960 for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
961 if test -d $(srcdir)/$$dir/; then \
962 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
963 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
964 if test -d "$(srcdir)/$$dir/$$file"; then \
965 echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
966 $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
968 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
969 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
974 # Install the help chapter
975 @echo "-------- Install the help chapter (if any) --------"; \
976 for lang in $(HELP_CHAPTERLANG); do \
977 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
978 if test -f $$HELPFILE; then \
979 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
980 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
981 echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
982 $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
985 # Install the demos & examples
986 @echo "-------- Install demos & examples (if any) --------"; \
987 for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
988 if test -d $(srcdir)/$$dir/; then \
989 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
990 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
991 if test -d "$(srcdir)/$$dir/$$file"; then \
992 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
993 $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
995 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
996 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1001 # Install the macros
1002 @echo "-------- Install macros (if any) --------"; \
1003 for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1004 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1005 if test -d $(srcdir)/$$dir/; then \
1006 FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
1007 if test -n "$(MACROSSPECIALEXT)"; then \
1009 for specialExt in $(MACROSSPECIALEXT); do \
1010 specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
1012 FILELIST="$$FILELIST $$specialExtDir"; \
1014 for file in `ls -1 $$FILELIST 2>/dev/null`; do \
1015 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
1016 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
1020 # Install java files (.jar)
1021 @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
1022 echo "-------- Install jar files --------"; \
1023 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
1024 for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
1025 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
1026 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
1030 ########### CLEAN ###################
1031 # Clean help (generated automatically by Scilab)
1032 # It used to clean the macro (clean-macros) but this was causing
1033 # make clean && make to fail Scilab startup
1034 @NEED_JAVA_TRUE@clean-local: clean-java
1035 @NEED_JAVA_FALSE@clean-local:
1038 rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
1040 .PHONY: macros java swig giws
1042 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1043 # Otherwise a system limit (for SysV at least) may be exceeded.