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
18 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
19 # Copyright (C) Scilab Enterprises - 2011 - Sylvestre Ledru
21 # Copyright (C) 2012 - 2016 - Scilab Enterprises
23 # This file is hereby licensed under the terms of the GNU GPL v2.0,
24 # pursuant to article 5.3.4 of the CeCILL v.2.1.
25 # This file was originally licensed under the terms of the CeCILL v2.1,
26 # and continues to be available under such terms.
27 # For more information, see the COPYING file which you should have received
28 # along with this program.
31 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
32 # Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
33 # Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
35 # Copyright (C) 2012 - 2016 - Scilab Enterprises
37 # This file is hereby licensed under the terms of the GNU GPL v2.0,
38 # pursuant to article 5.3.4 of the CeCILL v.2.1.
39 # This file was originally licensed under the terms of the CeCILL v2.1,
40 # and continues to be available under such terms.
41 # For more information, see the COPYING file which you should have received
42 # along with this program.
46 ### Makefile included stuff
47 ### Target, variable, suffixes which are supposed to be useful in every makefile.am
51 if test -z '$(MAKELEVEL)'; then \
53 elif test -n '$(MAKE_HOST)'; then \
55 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
61 am__make_running_with_option = \
62 case $${target_option-} in \
64 *) echo "am__make_running_with_option: internal error: invalid" \
65 "target option '$${target_option-}' specified" >&2; \
69 sane_makeflags=$$MAKEFLAGS; \
70 if $(am__is_gnu_make); then \
71 sane_makeflags=$$MFLAGS; \
76 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
77 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
83 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
85 for flg in $$sane_makeflags; do \
86 test $$skip_next = yes && { skip_next=no; continue; }; \
89 -*I) strip_trailopt 'I'; skip_next=yes;; \
90 -*I?*) strip_trailopt 'I';; \
91 -*O) strip_trailopt 'O'; skip_next=yes;; \
92 -*O?*) strip_trailopt 'O';; \
93 -*l) strip_trailopt 'l'; skip_next=yes;; \
94 -*l?*) strip_trailopt 'l';; \
95 -[dEDm]) skip_next=yes;; \
96 -[JT]) skip_next=yes;; \
99 *$$target_option*) has_opt=yes; break;; \
103 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
104 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
105 pkgdatadir = $(datadir)/@PACKAGE@
106 pkgincludedir = $(includedir)/@PACKAGE@
107 pkglibdir = $(libdir)/@PACKAGE@
108 pkglibexecdir = $(libexecdir)/@PACKAGE@
109 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
110 install_sh_DATA = $(install_sh) -c -m 644
111 install_sh_PROGRAM = $(install_sh) -c
112 install_sh_SCRIPT = $(install_sh) -c
113 INSTALL_HEADER = $(INSTALL_DATA)
114 transform = $(program_transform_name)
121 build_triplet = @build@
122 host_triplet = @host@
123 @NEED_JAVA_TRUE@am__append_1 = java
124 subdir = modules/prebuildjava
125 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
126 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
127 $(top_srcdir)/m4/backtrace.m4 $(top_srcdir)/m4/compiler.m4 \
128 $(top_srcdir)/m4/curl.m4 $(top_srcdir)/m4/docbook.m4 \
129 $(top_srcdir)/m4/doxygen.m4 $(top_srcdir)/m4/eigen.m4 \
130 $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
131 $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
132 $(top_srcdir)/m4/intel_compiler.m4 \
133 $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
134 $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
135 $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
136 $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
137 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
138 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
139 $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \
140 $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \
141 $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \
142 $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \
143 $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac
144 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
146 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
147 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
148 CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
150 CONFIG_CLEAN_VPATH_FILES =
151 AM_V_P = $(am__v_P_@AM_V@)
152 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
155 AM_V_GEN = $(am__v_GEN_@AM_V@)
156 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
157 am__v_GEN_0 = @echo " GEN " $@;
159 AM_V_at = $(am__v_at_@AM_V@)
160 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
165 am__can_run_installinfo = \
166 case $$AM_UPDATE_INFO_DIR in \
168 *) (install-info --version) >/dev/null 2>&1;; \
170 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
171 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am \
172 $(top_srcdir)/config/mkinstalldirs
173 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
175 ALL_LINGUAS = @ALL_LINGUAS@
176 ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
178 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
182 ARPACK_LIBS = @ARPACK_LIBS@
184 AUTOCONF = @AUTOCONF@
185 AUTOHEADER = @AUTOHEADER@
186 AUTOMAKE = @AUTOMAKE@
187 AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
190 BLAS_CFLAGS = @BLAS_CFLAGS@
191 BLAS_LIBS = @BLAS_LIBS@
194 CCDEPMODE = @CCDEPMODE@
196 CHECKSTYLE = @CHECKSTYLE@
197 COBERTURA = @COBERTURA@
198 COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
199 COMMONS_IO = @COMMONS_IO@
200 COMMONS_LOGGING = @COMMONS_LOGGING@
202 CPPFLAGS = @CPPFLAGS@
203 CURL_CFLAGS = @CURL_CFLAGS@
204 CURL_CONFIG = @CURL_CONFIG@
205 CURL_LIBS = @CURL_LIBS@
206 CURL_VERSION = @CURL_VERSION@
209 CXXDEPMODE = @CXXDEPMODE@
210 CXXFLAGS = @CXXFLAGS@
211 CYGPATH_W = @CYGPATH_W@
213 DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
216 DOCBOOK_ROOT = @DOCBOOK_ROOT@
217 DOXYGEN_BIN = @DOXYGEN_BIN@
218 DSYMUTIL = @DSYMUTIL@
225 EIGEN_CPPFLAGS = @EIGEN_CPPFLAGS@
229 FFTW3_LIB = @FFTW3_LIB@
230 FFTW_ENABLE = @FFTW_ENABLE@
232 FLEXDOCK = @FLEXDOCK@
235 FREEHEP_GRAPHICS2D = @FREEHEP_GRAPHICS2D@
236 FREEHEP_GRAPHICSIO = @FREEHEP_GRAPHICSIO@
237 FREEHEP_GRAPHICSIO_EMF = @FREEHEP_GRAPHICSIO_EMF@
238 FREEHEP_IO = @FREEHEP_IO@
239 FREEHEP_UTIL = @FREEHEP_UTIL@
241 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
242 GIWS_BIN = @GIWS_BIN@
243 GLUEGEN2_RT = @GLUEGEN2_RT@
245 GMSGFMT_015 = @GMSGFMT_015@
246 GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
248 GUI_ENABLE = @GUI_ENABLE@
249 HAMCREST = @HAMCREST@
250 HAVE_CXX17 = @HAVE_CXX17@
251 HDF5_CFLAGS = @HDF5_CFLAGS@
252 HDF5_LIBS = @HDF5_LIBS@
253 HELP_ENABLE = @HELP_ENABLE@
255 INSTALL_DATA = @INSTALL_DATA@
256 INSTALL_PROGRAM = @INSTALL_PROGRAM@
257 INSTALL_SCRIPT = @INSTALL_SCRIPT@
258 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
259 INTLLIBS = @INTLLIBS@
260 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
264 JAVAC_DEBUG = @JAVAC_DEBUG@
267 JAVASCI_ENABLE = @JAVASCI_ENABLE@
268 JAVA_ENABLE = @JAVA_ENABLE@
270 JAVA_HOME = @JAVA_HOME@
271 JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
272 JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
274 JEUCLID_CORE = @JEUCLID_CORE@
277 JLATEXMATH = @JLATEXMATH@
278 JLATEXMATH_FOP = @JLATEXMATH_FOP@
280 JROSETTA_API = @JROSETTA_API@
281 JROSETTA_ENGINE = @JROSETTA_ENGINE@
283 LAPACK_LIBS = @LAPACK_LIBS@
289 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
290 LIBICONV = @LIBICONV@
298 LOGGING_LEVEL = @LOGGING_LEVEL@
300 LTLIBICONV = @LTLIBICONV@
301 LTLIBINTL = @LTLIBINTL@
302 LTLIBOBJS = @LTLIBOBJS@
303 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
305 LUCENE_ANALYZER = @LUCENE_ANALYZER@
306 LUCENE_PARSER = @LUCENE_PARSER@
308 MAKEINFO = @MAKEINFO@
309 MANIFEST_TOOL = @MANIFEST_TOOL@
310 MATIO_CFLAGS = @MATIO_CFLAGS@
311 MATIO_ENABLE = @MATIO_ENABLE@
312 MATIO_LIBS = @MATIO_LIBS@
314 MPI_ENABLE = @MPI_ENABLE@
317 MSGFMT_015 = @MSGFMT_015@
318 MSGMERGE = @MSGMERGE@
324 OCAMLDEP = @OCAMLDEP@
325 OCAMLLEX = @OCAMLLEX@
326 OCAMLOPT = @OCAMLOPT@
327 OCAMLYACC = @OCAMLYACC@
328 OPENMPI_CC = @OPENMPI_CC@
329 OPENMPI_CFLAGS = @OPENMPI_CFLAGS@
330 OPENMPI_CXX = @OPENMPI_CXX@
331 OPENMPI_CXXFLAGS = @OPENMPI_CXXFLAGS@
332 OPENMPI_LIBS = @OPENMPI_LIBS@
333 OPENMP_CFLAGS = @OPENMP_CFLAGS@
334 OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
335 OPENMP_ENABLE = @OPENMP_ENABLE@
336 OPENMP_LIBS = @OPENMP_LIBS@
340 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
341 PACKAGE_NAME = @PACKAGE_NAME@
342 PACKAGE_STRING = @PACKAGE_STRING@
343 PACKAGE_TARNAME = @PACKAGE_TARNAME@
344 PACKAGE_URL = @PACKAGE_URL@
345 PACKAGE_VERSION = @PACKAGE_VERSION@
346 PATH_SEPARATOR = @PATH_SEPARATOR@
347 PCRE_CFLAGS = @PCRE_CFLAGS@
348 PCRE_CONFIG = @PCRE_CONFIG@
349 PCRE_LIBS = @PCRE_LIBS@
350 PCRE_VERSION = @PCRE_VERSION@
351 PKG_CONFIG = @PKG_CONFIG@
356 RELOCATABLE = @RELOCATABLE@
359 SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
360 SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
361 SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
362 SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
363 SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
364 SCIRENDERER = @SCIRENDERER@
365 SCIRENDERER_CP = @SCIRENDERER_CP@
366 SCI_CFLAGS = @SCI_CFLAGS@
367 SCI_CXXFLAGS = @SCI_CXXFLAGS@
368 SCI_FFLAGS = @SCI_FFLAGS@
369 SCI_LDFLAGS = @SCI_LDFLAGS@
371 SET_MAKE = @SET_MAKE@
372 SET_RELOCATABLE = @SET_RELOCATABLE@
377 SWIG_BIN = @SWIG_BIN@
378 SWIG_JAVA = @SWIG_JAVA@
379 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
380 SWIG_SCILAB = @SWIG_SCILAB@
381 TCLTK_LIBS = @TCLTK_LIBS@
382 TCL_INC_PATH = @TCL_INC_PATH@
383 TK_INC_PATH = @TK_INC_PATH@
384 UMFPACK_CFLAGS = @UMFPACK_CFLAGS@
385 UMFPACK_ENABLE = @UMFPACK_ENABLE@
386 UMFPACK_LIB = @UMFPACK_LIB@
388 VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
389 VALGRIND_LIBS = @VALGRIND_LIBS@
391 WITH_OCAML = @WITH_OCAML@
392 WITH_TKSCI = @WITH_TKSCI@
393 XCOS_ENABLE = @XCOS_ENABLE@
394 XGETTEXT = @XGETTEXT@
395 XGETTEXT_015 = @XGETTEXT_015@
396 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
398 XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
399 XML_APIS_EXT = @XML_APIS_EXT@
400 XML_CONFIG = @XML_CONFIG@
401 XML_FLAGS = @XML_FLAGS@
402 XML_LIBS = @XML_LIBS@
403 XML_VERSION = @XML_VERSION@
404 X_CFLAGS = @X_CFLAGS@
405 X_EXTRA_LIBS = @X_EXTRA_LIBS@
407 X_PRE_LIBS = @X_PRE_LIBS@
410 abs_builddir = @abs_builddir@
411 abs_srcdir = @abs_srcdir@
412 abs_top_builddir = @abs_top_builddir@
413 abs_top_srcdir = @abs_top_srcdir@
414 ac_ct_AR = @ac_ct_AR@
415 ac_ct_CC = @ac_ct_CC@
416 ac_ct_CXX = @ac_ct_CXX@
417 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
418 ac_ct_F77 = @ac_ct_F77@
419 am__include = @am__include@
420 am__leading_dot = @am__leading_dot@
421 am__quote = @am__quote@
423 am__untar = @am__untar@
426 build_alias = @build_alias@
427 build_cpu = @build_cpu@
428 build_os = @build_os@
429 build_vendor = @build_vendor@
430 builddir = @builddir@
431 cxx_present = @cxx_present@
433 datarootdir = @datarootdir@
436 exec_prefix = @exec_prefix@
438 host_alias = @host_alias@
439 host_cpu = @host_cpu@
441 host_vendor = @host_vendor@
443 includedir = @includedir@
445 install_sh = @install_sh@
447 libexecdir = @libexecdir@
448 localedir = @localedir@
449 localstatedir = @localstatedir@
452 oldincludedir = @oldincludedir@
455 program_transform_name = @program_transform_name@
458 sharedstatedir = @sharedstatedir@
460 sysconfdir = @sysconfdir@
461 target_alias = @target_alias@
462 top_build_prefix = @top_build_prefix@
463 top_builddir = @top_builddir@
464 top_srcdir = @top_srcdir@
465 yacc_present = @yacc_present@
466 @NEED_JAVA_TRUE@USEANT = 1
468 # Where all the Scilab stuff is installed (macros, help, ...)
469 mydatadir = $(pkgdatadir)/modules/$(modulename)
471 # Set AM_* SCI detected settings
472 AM_CPPFLAGS = $(SCI_CPPFLAGS)
473 AM_CFLAGS = $(SCI_CFLAGS)
474 AM_CXXFLAGS = $(SCI_CXXFLAGS)
475 # append includes to AM_FFLAGS to manage fortran includes
476 AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
478 # Tag shared libraries with the Scilab version
479 AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
482 SPLINT_OPTIONS = -weak -booltype BOOL
484 ########################### JAVA ######################################
485 #### We are delegating java compilation to ant... Thanks to that
486 #### the procedure will be the same with Microsoft Windows (C)
488 #######################################################################
489 TARGETS_ALL = $(am__append_1)
491 ################ MACROS ######################
492 # Rule to build a macro
493 # NOT USED AT THE MOMENT
496 ########### INSTALL DOCUMENTATION ###################
498 # Install documentation files into the right target
499 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
500 # automake needs the html files to be present which is not the case when
501 # we are building Scilab
503 # Where it should be installed
504 pkgdocdir = $(mydatadir)
506 # What is the mask of the help source
509 # What is the mask of the MathML sources
512 ########### INSTALL DATA ###################
513 # Install macros, help & demos
514 # Where it should be installed
515 pkgmacrosdir = $(mydatadir)
516 # Which directory we process
518 # Mask of the Scilab sources macros
520 # Mask of the Scilab executable sources macros
521 MACROBUILDMASK = *.sce
522 # Mask of the Scilab compiled macros
524 # List of the standard directory for tests
525 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
526 # Where the demos should be installed
527 pkgdemosdir = $(mydatadir)
528 # List of the standard directory for demos
530 # List of the standard directory for examples
531 EXAMPLES_DIR = examples
532 # Where to export JAVA archives (.jar)
537 HELP_CHAPTERDIR = help/
538 HELP_CHAPTERFILE = addchapter.sce
539 HELP_CHAPTERLANG = en_US fr_FR pt_BR
544 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
546 case '$(am__configure_deps)' in \
548 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
549 && { if test -f $@; then exit 0; else break; fi; }; \
553 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/prebuildjava/Makefile'; \
554 $(am__cd) $(top_srcdir) && \
555 $(AUTOMAKE) --foreign modules/prebuildjava/Makefile
556 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
559 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
561 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
562 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
564 $(top_srcdir)/Makefile.incl.am $(am__empty):
566 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
567 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
569 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
570 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
571 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
572 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
573 $(am__aclocal_m4_deps):
587 distdir: $(BUILT_SOURCES)
588 $(MAKE) $(AM_MAKEFLAGS) distdir-am
590 distdir-am: $(DISTFILES)
591 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
592 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
593 list='$(DISTFILES)'; \
594 dist_files=`for file in $$list; do echo $$file; done | \
595 sed -e "s|^$$srcdirstrip/||;t" \
596 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
597 case $$dist_files in \
598 */*) $(MKDIR_P) `echo "$$dist_files" | \
599 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
602 for file in $$dist_files; do \
603 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
604 if test -d $$d/$$file; then \
605 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
606 if test -d "$(distdir)/$$file"; then \
607 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
609 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
610 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
611 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
613 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
615 test -f "$(distdir)/$$file" \
616 || cp -p $$d/$$file "$(distdir)/$$file" \
621 $(MAKE) $(AM_MAKEFLAGS) check-local
623 all-am: Makefile all-local
626 install-exec: install-exec-am
627 install-data: install-data-am
628 uninstall: uninstall-am
631 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
633 installcheck: installcheck-am
635 if test -z '$(STRIP)'; then \
636 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
637 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
640 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
641 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
642 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
649 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
650 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
652 maintainer-clean-generic:
653 @echo "This command is intended for maintainers to use"
654 @echo "it deletes files that may require special tools to rebuild."
657 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
659 distclean: distclean-am
661 distclean-am: clean-am distclean-generic distclean-local
675 install-data-am: install-data-local
677 install-dvi: install-dvi-am
683 install-html: install-html-am
685 install-html-am: install-html-local
687 install-info: install-info-am
693 install-pdf: install-pdf-am
697 install-ps: install-ps-am
703 maintainer-clean: maintainer-clean-am
705 maintainer-clean-am: distclean-am maintainer-clean-generic
707 mostlyclean: mostlyclean-am
709 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
721 .MAKE: check-am install-am install-strip
723 .PHONY: all all-am all-local check check-am check-local clean \
724 clean-generic clean-libtool clean-local cscopelist-am ctags-am \
725 distclean distclean-generic distclean-libtool distclean-local \
726 distdir dvi dvi-am html html-am info info-am install \
727 install-am install-data install-data-am install-data-local \
728 install-dvi install-dvi-am install-exec install-exec-am \
729 install-html install-html-am install-html-local install-info \
730 install-info-am install-man install-pdf install-pdf-am \
731 install-ps install-ps-am install-strip installcheck \
732 installcheck-am installdirs maintainer-clean \
733 maintainer-clean-generic mostlyclean mostlyclean-generic \
734 mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
740 @NEED_JAVA_TRUE@all: java
742 # This target enables tests for Scilab
743 check-local: $(top_builddir)/scilab-bin test
744 if test -d $(mydatadir)/tests; then \
745 @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
748 if test -f build.xml; then \
751 if test -x "$(SPLINT)"; then \
752 $(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); \
754 @NEED_JAVA_TRUE@java:
755 # Some configurations needs to export JAVA_HOME in the current env
756 @NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
757 @NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
758 @NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
759 @NEED_JAVA_TRUE@ $(ANT); \
762 @NEED_JAVA_TRUE@clean-java:
763 # Some configurations needs to export JAVA_HOME in the current env
764 @NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
765 @NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
766 @NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
767 @NEED_JAVA_TRUE@ $(ANT) clean; \
770 # If the user request for the SWIG generation of the wrappers Java => C/C++
771 # We call the target swig-build on the variable SWIG_WRAPPERS
773 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
774 @SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
775 @SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
776 @SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \
777 @SWIG_TRUE@ for file in $(SWIG_WRAPPERS) ; do \
778 @SWIG_TRUE@ echo "Swig process of $$file (Java) ..."; \
779 @SWIG_TRUE@ $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \
783 @SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS)
784 @SWIG_TRUE@ @SWIG_OUTDIR=src/swig/; \
785 @SWIG_TRUE@ if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
786 @SWIG_TRUE@ for file in $(SWIG_SCILAB_WRAPPERS) ; do \
787 @SWIG_TRUE@ echo "Swig process of $$file (Scilab) ..."; \
788 @SWIG_TRUE@ $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \
792 # If the user request for the SWIG generation of the wrappers Java => C/C++
793 # We call the target swig-build on the variable SWIG_WRAPPERS
795 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
796 @GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/; \
797 @GIWS_TRUE@ MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
798 @GIWS_TRUE@ if test -n "$(GIWS_WRAPPERS)"; then \
799 @GIWS_TRUE@ for file in $(GIWS_WRAPPERS) ; do \
800 @GIWS_TRUE@ echo "GIWS process of $$file ..."; \
801 @GIWS_TRUE@ if test -z "$(GIWS_OPTIONS)"; then \
802 @GIWS_TRUE@ $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
804 @GIWS_TRUE@ echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
805 @GIWS_TRUE@ $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
810 @GIWS_TRUE@giws-exception:
811 @GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
812 @GIWS_TRUE@ echo "GIWS: Generation of exception class ..."; \
813 @GIWS_TRUE@ $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR
816 -@( if test ! -x $(top_builddir)/scilab-bin; then \
817 echo "Error : Cannot build $< : Scilab has not been built"; \
819 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
824 # Removes macros (*.bin generated from .sci)
825 @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
826 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
827 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
831 # More tests could be added here
832 @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
833 if test -f build.xml -a $$USEANT -eq 1; then \
837 all-local: $(TARGETS_ALL)
840 -@( if test ! -x $(top_builddir)/scilab-bin; then \
841 echo "Error : Cannot build $< : Scilab has not been build"; \
843 echo "Creating $@"; \
844 $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
849 install-data-local-local:
851 @if test -d $(srcdir)/javadoc; then \
852 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
854 # If the user wants the help sources to be installed
855 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
856 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
857 @INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/$$lang; then \
858 @INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
859 @INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
860 @INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
861 @INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
862 @INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
863 @INSTALL_HELP_XML_TRUE@ done ; \
864 @INSTALL_HELP_XML_TRUE@ fi; \
865 @INSTALL_HELP_XML_TRUE@ fi; \
866 @INSTALL_HELP_XML_TRUE@ done; \
867 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
868 @INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/mml/; then \
869 @INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
870 @INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
871 @INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
872 @INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
873 @INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
874 @INSTALL_HELP_XML_TRUE@ done ; \
875 @INSTALL_HELP_XML_TRUE@ fi; \
876 @INSTALL_HELP_XML_TRUE@ fi
879 @echo "-------- Install tests (if any) --------"; \
880 for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
881 if test -d $(srcdir)/$$dir/; then \
882 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
883 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
884 if test -d "$(srcdir)/$$dir/$$file"; then \
885 echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
886 $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
888 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
889 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
894 # Install the help chapter
895 @echo "-------- Install the help chapter (if any) --------"; \
896 for lang in $(HELP_CHAPTERLANG); do \
897 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
898 if test -f $$HELPFILE; then \
899 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
900 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
901 echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
902 $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
905 # Install the demos & examples
906 @echo "-------- Install demos & examples (if any) --------"; \
907 for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
908 if test -d $(srcdir)/$$dir/; then \
909 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
910 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
911 if test -d "$(srcdir)/$$dir/$$file"; then \
912 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
913 $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
915 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
916 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
922 @echo "-------- Install macros (if any) --------"; \
923 for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
924 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
925 if test -d $(srcdir)/$$dir/; then \
926 FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
927 if test -n "$(MACROSSPECIALEXT)"; then \
929 for specialExt in $(MACROSSPECIALEXT); do \
930 specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
932 FILELIST="$$FILELIST $$specialExtDir"; \
934 for file in `ls -1 $$FILELIST 2>/dev/null`; do \
935 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
936 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
940 # Install java files (.jar)
941 @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
942 echo "-------- Install jar files --------"; \
943 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
944 for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
945 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
946 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
950 ########### CLEAN ###################
951 # Clean help (generated automatically by Scilab)
952 # It used to clean the macro (clean-macros) but this was causing
953 # make clean && make to fail Scilab startup
954 @NEED_JAVA_TRUE@clean-local: clean-java
955 @NEED_JAVA_FALSE@clean-local:
958 rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
960 .PHONY: macros java swig giws
962 # Tell versions [3.59,3.63) of GNU make to not export all variables.
963 # Otherwise a system limit (for SysV at least) may be exceeded.