1 # Makefile.in generated by automake 1.16.1 from Makefile.am.
4 # Copyright (C) 1994-2018 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@
480 sharedstatedir = @sharedstatedir@
482 sysconfdir = @sysconfdir@
483 target_alias = @target_alias@
484 top_build_prefix = @top_build_prefix@
485 top_builddir = @top_builddir@
486 top_srcdir = @top_srcdir@
487 yacc_present = @yacc_present@
492 #### m2sci : Conf files ####
493 libm2sci_la_rootdir = $(mydatadir)
494 libm2sci_la_root_DATA = license.txt
496 #### m2sci : Macros ####
497 MACROSDIRSEXT = macros/kernel macros/percent macros/sci_files
499 ####�m2sci : init scripts ####
500 libm2sci_la_etcdir = $(mydatadir)/etc
501 libm2sci_la_etc_DATA = etc/m2sci.quit etc/m2sci.start
503 # Where all the Scilab stuff is installed (macros, help, ...)
504 mydatadir = $(pkgdatadir)/modules/$(modulename)
506 # Set AM_* SCI detected settings
507 AM_CPPFLAGS = $(SCI_CPPFLAGS)
508 AM_CFLAGS = $(SCI_CFLAGS)
509 AM_CXXFLAGS = $(SCI_CXXFLAGS)
510 # append includes to AM_FFLAGS to manage fortran includes
511 AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
513 # Tag shared libraries with the Scilab version
514 AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
517 SPLINT_OPTIONS = -weak -booltype BOOL
519 ########################### JAVA ######################################
520 #### We are delegating java compilation to ant... Thanks to that
521 #### the procedure will be the same with Microsoft Windows (C)
523 #######################################################################
524 TARGETS_ALL = $(am__append_1)
526 ################ MACROS ######################
527 # Rule to build a macro
528 # NOT USED AT THE MOMENT
531 ########### INSTALL DOCUMENTATION ###################
533 # Install documentation files into the right target
534 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
535 # automake needs the html files to be present which is not the case when
536 # we are building Scilab
538 # Where it should be installed
539 pkgdocdir = $(mydatadir)
541 # What is the mask of the help source
544 # What is the mask of the MathML sources
547 ########### INSTALL DATA ###################
548 # Install macros, help & demos
549 # Where it should be installed
550 pkgmacrosdir = $(mydatadir)
551 # Which directory we process
553 # Mask of the Scilab sources macros
555 # Mask of the Scilab executable sources macros
556 MACROBUILDMASK = *.sce
557 # Mask of the Scilab compiled macros
559 # List of the standard directory for tests
560 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
561 # Where the demos should be installed
562 pkgdemosdir = $(mydatadir)
563 # List of the standard directory for demos
565 # List of the standard directory for examples
566 EXAMPLES_DIR = examples
567 # Where to export JAVA archives (.jar)
572 HELP_CHAPTERDIR = help/
573 HELP_CHAPTERFILE = addchapter.sce
574 HELP_CHAPTERLANG = en_US fr_FR pt_BR
579 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
581 case '$(am__configure_deps)' in \
583 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
584 && { if test -f $@; then exit 0; else break; fi; }; \
588 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/m2sci/Makefile'; \
589 $(am__cd) $(top_srcdir) && \
590 $(AUTOMAKE) --foreign modules/m2sci/Makefile
591 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
594 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
596 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
597 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
599 $(top_srcdir)/Makefile.incl.am $(am__empty):
601 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
602 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
604 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
605 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
606 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
607 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
608 $(am__aclocal_m4_deps):
615 install-libm2sci_la_etcDATA: $(libm2sci_la_etc_DATA)
617 @list='$(libm2sci_la_etc_DATA)'; test -n "$(libm2sci_la_etcdir)" || list=; \
618 if test -n "$$list"; then \
619 echo " $(MKDIR_P) '$(DESTDIR)$(libm2sci_la_etcdir)'"; \
620 $(MKDIR_P) "$(DESTDIR)$(libm2sci_la_etcdir)" || exit 1; \
622 for p in $$list; do \
623 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
625 done | $(am__base_list) | \
626 while read files; do \
627 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libm2sci_la_etcdir)'"; \
628 $(INSTALL_DATA) $$files "$(DESTDIR)$(libm2sci_la_etcdir)" || exit $$?; \
631 uninstall-libm2sci_la_etcDATA:
633 @list='$(libm2sci_la_etc_DATA)'; test -n "$(libm2sci_la_etcdir)" || list=; \
634 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
635 dir='$(DESTDIR)$(libm2sci_la_etcdir)'; $(am__uninstall_files_from_dir)
636 install-libm2sci_la_rootDATA: $(libm2sci_la_root_DATA)
638 @list='$(libm2sci_la_root_DATA)'; test -n "$(libm2sci_la_rootdir)" || list=; \
639 if test -n "$$list"; then \
640 echo " $(MKDIR_P) '$(DESTDIR)$(libm2sci_la_rootdir)'"; \
641 $(MKDIR_P) "$(DESTDIR)$(libm2sci_la_rootdir)" || exit 1; \
643 for p in $$list; do \
644 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
646 done | $(am__base_list) | \
647 while read files; do \
648 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libm2sci_la_rootdir)'"; \
649 $(INSTALL_DATA) $$files "$(DESTDIR)$(libm2sci_la_rootdir)" || exit $$?; \
652 uninstall-libm2sci_la_rootDATA:
654 @list='$(libm2sci_la_root_DATA)'; test -n "$(libm2sci_la_rootdir)" || list=; \
655 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
656 dir='$(DESTDIR)$(libm2sci_la_rootdir)'; $(am__uninstall_files_from_dir)
664 distdir: $(BUILT_SOURCES)
665 $(MAKE) $(AM_MAKEFLAGS) distdir-am
667 distdir-am: $(DISTFILES)
668 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
669 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
670 list='$(DISTFILES)'; \
671 dist_files=`for file in $$list; do echo $$file; done | \
672 sed -e "s|^$$srcdirstrip/||;t" \
673 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
674 case $$dist_files in \
675 */*) $(MKDIR_P) `echo "$$dist_files" | \
676 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
679 for file in $$dist_files; do \
680 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
681 if test -d $$d/$$file; then \
682 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
683 if test -d "$(distdir)/$$file"; then \
684 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
686 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
687 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
688 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
690 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
692 test -f "$(distdir)/$$file" \
693 || cp -p $$d/$$file "$(distdir)/$$file" \
698 $(MAKE) $(AM_MAKEFLAGS) check-local
700 all-am: Makefile $(DATA) all-local
702 for dir in "$(DESTDIR)$(libm2sci_la_etcdir)" "$(DESTDIR)$(libm2sci_la_rootdir)"; do \
703 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
706 install-exec: install-exec-am
707 install-data: install-data-am
708 uninstall: uninstall-am
711 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
713 installcheck: installcheck-am
715 if test -z '$(STRIP)'; then \
716 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
717 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
720 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
721 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
722 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
729 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
730 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
732 maintainer-clean-generic:
733 @echo "This command is intended for maintainers to use"
734 @echo "it deletes files that may require special tools to rebuild."
737 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
739 distclean: distclean-am
741 distclean-am: clean-am distclean-generic distclean-local
755 install-data-am: install-data-local install-libm2sci_la_etcDATA \
756 install-libm2sci_la_rootDATA
758 install-dvi: install-dvi-am
764 install-html: install-html-am
766 install-html-am: install-html-local
768 install-info: install-info-am
774 install-pdf: install-pdf-am
778 install-ps: install-ps-am
784 maintainer-clean: maintainer-clean-am
786 maintainer-clean-am: distclean-am maintainer-clean-generic
788 mostlyclean: mostlyclean-am
790 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
800 uninstall-am: uninstall-libm2sci_la_etcDATA \
801 uninstall-libm2sci_la_rootDATA
803 .MAKE: check-am install-am install-strip
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 install-libm2sci_la_etcDATA \
813 install-libm2sci_la_rootDATA install-man install-pdf \
814 install-pdf-am install-ps install-ps-am install-strip \
815 installcheck installcheck-am installdirs maintainer-clean \
816 maintainer-clean-generic mostlyclean mostlyclean-generic \
817 mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
818 uninstall-am uninstall-libm2sci_la_etcDATA \
819 uninstall-libm2sci_la_rootDATA
824 # This target enables tests for Scilab
825 check-local: $(top_builddir)/scilab-bin test
826 if test -d $(mydatadir)/tests; then \
827 @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
830 if test -f build.xml; then \
833 if test -x "$(SPLINT)"; then \
834 $(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 @NEED_JAVA_TRUE@java:
837 # Some configurations needs to export JAVA_HOME in the current env
838 @NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
839 @NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
840 @NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
841 @NEED_JAVA_TRUE@ $(ANT); \
844 @NEED_JAVA_TRUE@clean-java:
845 # Some configurations needs to export JAVA_HOME in the current env
846 @NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
847 @NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
848 @NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
849 @NEED_JAVA_TRUE@ $(ANT) clean; \
852 # If the user request for the SWIG generation of the wrappers Java => C/C++
853 # We call the target swig-build on the variable SWIG_WRAPPERS
855 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
856 @SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
857 @SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
858 @SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \
859 @SWIG_TRUE@ for file in $(SWIG_WRAPPERS) ; do \
860 @SWIG_TRUE@ echo "Swig process of $$file (Java) ..."; \
861 @SWIG_TRUE@ $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \
865 @SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS)
866 @SWIG_TRUE@ @SWIG_OUTDIR=src/swig/; \
867 @SWIG_TRUE@ if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
868 @SWIG_TRUE@ for file in $(SWIG_SCILAB_WRAPPERS) ; do \
869 @SWIG_TRUE@ echo "Swig process of $$file (Scilab) ..."; \
870 @SWIG_TRUE@ $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \
874 # If the user request for the SWIG generation of the wrappers Java => C/C++
875 # We call the target swig-build on the variable SWIG_WRAPPERS
877 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
878 @GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/; \
879 @GIWS_TRUE@ MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
880 @GIWS_TRUE@ if test -n "$(GIWS_WRAPPERS)"; then \
881 @GIWS_TRUE@ for file in $(GIWS_WRAPPERS) ; do \
882 @GIWS_TRUE@ echo "GIWS process of $$file ..."; \
883 @GIWS_TRUE@ if test -z "$(GIWS_OPTIONS)"; then \
884 @GIWS_TRUE@ $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
886 @GIWS_TRUE@ echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
887 @GIWS_TRUE@ $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
892 @GIWS_TRUE@giws-exception:
893 @GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
894 @GIWS_TRUE@ echo "GIWS: Generation of exception class ..."; \
895 @GIWS_TRUE@ $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR
898 -@( if test ! -x $(top_builddir)/scilab-bin; then \
899 echo "Error : Cannot build $< : Scilab has not been built"; \
901 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
906 # Removes macros (*.bin generated from .sci)
907 @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
908 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
909 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
913 # More tests could be added here
914 @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
915 if test -f build.xml -a $$USEANT -eq 1; then \
919 all-local: $(TARGETS_ALL)
922 -@( if test ! -x $(top_builddir)/scilab-bin; then \
923 echo "Error : Cannot build $< : Scilab has not been build"; \
925 echo "Creating $@"; \
926 $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
931 install-data-local-local:
933 @if test -d $(srcdir)/javadoc; then \
934 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
936 # If the user wants the help sources to be installed
937 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
938 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
939 @INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/$$lang; then \
940 @INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
941 @INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
942 @INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
943 @INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
944 @INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
945 @INSTALL_HELP_XML_TRUE@ done ; \
946 @INSTALL_HELP_XML_TRUE@ fi; \
947 @INSTALL_HELP_XML_TRUE@ fi; \
948 @INSTALL_HELP_XML_TRUE@ done; \
949 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
950 @INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/mml/; then \
951 @INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
952 @INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
953 @INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
954 @INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
955 @INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
956 @INSTALL_HELP_XML_TRUE@ done ; \
957 @INSTALL_HELP_XML_TRUE@ fi; \
958 @INSTALL_HELP_XML_TRUE@ fi
961 @echo "-------- Install tests (if any) --------"; \
962 for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
963 if test -d $(srcdir)/$$dir/; then \
964 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
965 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
966 if test -d "$(srcdir)/$$dir/$$file"; then \
967 echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
968 $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
970 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
971 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
976 # Install the help chapter
977 @echo "-------- Install the help chapter (if any) --------"; \
978 for lang in $(HELP_CHAPTERLANG); do \
979 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
980 if test -f $$HELPFILE; then \
981 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
982 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
983 echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
984 $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
987 # Install the demos & examples
988 @echo "-------- Install demos & examples (if any) --------"; \
989 for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
990 if test -d $(srcdir)/$$dir/; then \
991 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
992 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
993 if test -d "$(srcdir)/$$dir/$$file"; then \
994 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
995 $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
997 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
998 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1003 # Install the macros
1004 @echo "-------- Install macros (if any) --------"; \
1005 for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1006 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1007 if test -d $(srcdir)/$$dir/; then \
1008 FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
1009 if test -n "$(MACROSSPECIALEXT)"; then \
1011 for specialExt in $(MACROSSPECIALEXT); do \
1012 specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
1014 FILELIST="$$FILELIST $$specialExtDir"; \
1016 for file in `ls -1 $$FILELIST 2>/dev/null`; do \
1017 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
1018 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
1022 # Install java files (.jar)
1023 @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
1024 echo "-------- Install jar files --------"; \
1025 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
1026 for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
1027 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
1028 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
1032 ########### CLEAN ###################
1033 # Clean help (generated automatically by Scilab)
1034 # It used to clean the macro (clean-macros) but this was causing
1035 # make clean && make to fail Scilab startup
1036 @NEED_JAVA_TRUE@clean-local: clean-java
1037 @NEED_JAVA_FALSE@clean-local:
1040 rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
1042 .PHONY: macros java swig giws
1044 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1045 # Otherwise a system limit (for SysV at least) may be exceeded.