1 # Makefile.in generated by automake 1.13.3 from Makefile.am.
4 # Copyright (C) 1994-2013 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 # This file must be used under the terms of the CeCILL.
22 # This source file is licensed as described in the file COPYING, which
23 # you should have received as part of this distribution. The terms
24 # are also available at
25 # http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
28 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
29 # Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
30 # Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
32 # This file must be used under the terms of the CeCILL.
33 # This source file is licensed as described in the file COPYING, which
34 # you should have received as part of this distribution. The terms
35 # are also available at
36 # http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
40 ### Makefile included stuff
41 ### Target, variable, suffixes which are supposed to be useful in every makefile.am
44 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
45 am__make_running_with_option = \
46 case $${target_option-} in \
48 *) echo "am__make_running_with_option: internal error: invalid" \
49 "target option '$${target_option-}' specified" >&2; \
53 sane_makeflags=$$MAKEFLAGS; \
54 if $(am__is_gnu_make); then \
55 sane_makeflags=$$MFLAGS; \
60 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
61 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
67 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
69 for flg in $$sane_makeflags; do \
70 test $$skip_next = yes && { skip_next=no; continue; }; \
73 -*I) strip_trailopt 'I'; skip_next=yes;; \
74 -*I?*) strip_trailopt 'I';; \
75 -*O) strip_trailopt 'O'; skip_next=yes;; \
76 -*O?*) strip_trailopt 'O';; \
77 -*l) strip_trailopt 'l'; skip_next=yes;; \
78 -*l?*) strip_trailopt 'l';; \
79 -[dEDm]) skip_next=yes;; \
80 -[JT]) skip_next=yes;; \
83 *$$target_option*) has_opt=yes; break;; \
87 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
88 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
89 pkgdatadir = $(datadir)/@PACKAGE@
90 pkgincludedir = $(includedir)/@PACKAGE@
91 pkglibdir = $(libdir)/@PACKAGE@
92 pkglibexecdir = $(libexecdir)/@PACKAGE@
93 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
94 install_sh_DATA = $(install_sh) -c -m 644
95 install_sh_PROGRAM = $(install_sh) -c
96 install_sh_SCRIPT = $(install_sh) -c
97 INSTALL_HEADER = $(INSTALL_DATA)
98 transform = $(program_transform_name)
105 build_triplet = @build@
106 host_triplet = @host@
107 DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \
108 $(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs
109 @NEED_JAVA_TRUE@am__append_1 = java
110 subdir = modules/prebuildjava
111 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
112 am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
113 $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \
114 $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \
115 $(top_srcdir)/m4/eigen.m4 $(top_srcdir)/m4/fftw.m4 \
116 $(top_srcdir)/m4/fortran.m4 $(top_srcdir)/m4/giws.m4 \
117 $(top_srcdir)/m4/hdf5.m4 $(top_srcdir)/m4/intel_compiler.m4 \
118 $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
119 $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
120 $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
121 $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
122 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
123 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
124 $(top_srcdir)/m4/ocaml.m4 $(top_srcdir)/m4/pcre.m4 \
125 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/relocatable.m4 \
126 $(top_srcdir)/m4/swig.m4 $(top_srcdir)/m4/symlinks.m4 \
127 $(top_srcdir)/m4/tcltk.m4 $(top_srcdir)/m4/umfpack.m4 \
128 $(top_srcdir)/configure.ac
129 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
131 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
132 CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
134 CONFIG_CLEAN_VPATH_FILES =
135 AM_V_P = $(am__v_P_@AM_V@)
136 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
139 AM_V_GEN = $(am__v_GEN_@AM_V@)
140 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
141 am__v_GEN_0 = @echo " GEN " $@;
143 AM_V_at = $(am__v_at_@AM_V@)
144 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
149 am__can_run_installinfo = \
150 case $$AM_UPDATE_INFO_DIR in \
152 *) (install-info --version) >/dev/null 2>&1;; \
154 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
155 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
157 ALL_LINGUAS = @ALL_LINGUAS@
158 ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
160 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
164 ARPACK_LIBS = @ARPACK_LIBS@
166 AUTOCONF = @AUTOCONF@
167 AUTOHEADER = @AUTOHEADER@
168 AUTOMAKE = @AUTOMAKE@
169 AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
172 BLAS_LIBS = @BLAS_LIBS@
175 CCDEPMODE = @CCDEPMODE@
177 CHECKSTYLE = @CHECKSTYLE@
178 COBERTURA = @COBERTURA@
179 COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
180 COMMONS_IO = @COMMONS_IO@
181 COMMONS_LOGGING = @COMMONS_LOGGING@
183 CPPFLAGS = @CPPFLAGS@
184 CURL_CFLAGS = @CURL_CFLAGS@
185 CURL_CONFIG = @CURL_CONFIG@
186 CURL_LIBS = @CURL_LIBS@
187 CURL_VERSION = @CURL_VERSION@
190 CXXDEPMODE = @CXXDEPMODE@
191 CXXFLAGS = @CXXFLAGS@
192 CYGPATH_W = @CYGPATH_W@
194 DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
196 DOCBOOK_ROOT = @DOCBOOK_ROOT@
197 DOXYGEN_BIN = @DOXYGEN_BIN@
198 DSYMUTIL = @DSYMUTIL@
204 EIGEN_CPPFLAGS = @EIGEN_CPPFLAGS@
208 FFTW3_LIB = @FFTW3_LIB@
209 FFTW_ENABLE = @FFTW_ENABLE@
211 FLEXDOCK = @FLEXDOCK@
215 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
216 GIWS_BIN = @GIWS_BIN@
217 GLUEGEN2_RT = @GLUEGEN2_RT@
219 GMSGFMT_015 = @GMSGFMT_015@
220 GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
222 GUI_ENABLE = @GUI_ENABLE@
223 HDF5_CFLAGS = @HDF5_CFLAGS@
224 HDF5_LIBS = @HDF5_LIBS@
225 HELP_ENABLE = @HELP_ENABLE@
227 INSTALL_DATA = @INSTALL_DATA@
228 INSTALL_PROGRAM = @INSTALL_PROGRAM@
229 INSTALL_SCRIPT = @INSTALL_SCRIPT@
230 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
231 INTLLIBS = @INTLLIBS@
232 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
236 JAVAC_DEBUG = @JAVAC_DEBUG@
239 JAVASCI_ENABLE = @JAVASCI_ENABLE@
240 JAVA_ENABLE = @JAVA_ENABLE@
242 JAVA_HOME = @JAVA_HOME@
243 JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
244 JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
246 JEUCLID_CORE = @JEUCLID_CORE@
249 JLATEXMATH = @JLATEXMATH@
250 JLATEXMATH_FOP = @JLATEXMATH_FOP@
252 JROSETTA_API = @JROSETTA_API@
253 JROSETTA_ENGINE = @JROSETTA_ENGINE@
255 LAPACK_LIBS = @LAPACK_LIBS@
261 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
262 LIBICONV = @LIBICONV@
270 LOGGING_LEVEL = @LOGGING_LEVEL@
272 LTLIBICONV = @LTLIBICONV@
273 LTLIBINTL = @LTLIBINTL@
274 LTLIBOBJS = @LTLIBOBJS@
276 MAKEINFO = @MAKEINFO@
277 MATIO_CFLAGS = @MATIO_CFLAGS@
278 MATIO_ENABLE = @MATIO_ENABLE@
279 MATIO_LIBS = @MATIO_LIBS@
283 MSGFMT_015 = @MSGFMT_015@
284 MSGMERGE = @MSGMERGE@
290 OCAMLDEP = @OCAMLDEP@
291 OCAMLLEX = @OCAMLLEX@
292 OCAMLOPT = @OCAMLOPT@
293 OCAMLYACC = @OCAMLYACC@
294 OPENMP_CFLAGS = @OPENMP_CFLAGS@
295 OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
296 OPENMP_ENABLE = @OPENMP_ENABLE@
297 OPENMP_LIBS = @OPENMP_LIBS@
301 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
302 PACKAGE_NAME = @PACKAGE_NAME@
303 PACKAGE_STRING = @PACKAGE_STRING@
304 PACKAGE_TARNAME = @PACKAGE_TARNAME@
305 PACKAGE_URL = @PACKAGE_URL@
306 PACKAGE_VERSION = @PACKAGE_VERSION@
307 PATH_SEPARATOR = @PATH_SEPARATOR@
308 PCRE_CFLAGS = @PCRE_CFLAGS@
309 PCRE_CONFIG = @PCRE_CONFIG@
310 PCRE_LIBS = @PCRE_LIBS@
311 PCRE_VERSION = @PCRE_VERSION@
312 PKG_CONFIG = @PKG_CONFIG@
317 RELOCATABLE = @RELOCATABLE@
320 SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
321 SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
322 SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
323 SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
324 SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
325 SCIRENDERER = @SCIRENDERER@
326 SCIRENDERER_CP = @SCIRENDERER_CP@
327 SCI_CFLAGS = @SCI_CFLAGS@
328 SCI_CXXFLAGS = @SCI_CXXFLAGS@
329 SCI_FFLAGS = @SCI_FFLAGS@
330 SCI_LDFLAGS = @SCI_LDFLAGS@
332 SET_MAKE = @SET_MAKE@
333 SET_RELOCATABLE = @SET_RELOCATABLE@
338 SWIG_BIN = @SWIG_BIN@
339 SWIG_JAVA = @SWIG_JAVA@
340 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
341 TCLTK_LIBS = @TCLTK_LIBS@
342 TCL_INC_PATH = @TCL_INC_PATH@
343 TK_INC_PATH = @TK_INC_PATH@
344 UMFPACK_ENABLE = @UMFPACK_ENABLE@
345 UMFPACK_LIB = @UMFPACK_LIB@
348 WITH_OCAML = @WITH_OCAML@
349 WITH_TKSCI = @WITH_TKSCI@
350 XCOS_ENABLE = @XCOS_ENABLE@
351 XGETTEXT = @XGETTEXT@
352 XGETTEXT_015 = @XGETTEXT_015@
353 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
355 XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
356 XML_APIS_EXT = @XML_APIS_EXT@
357 XML_CONFIG = @XML_CONFIG@
358 XML_FLAGS = @XML_FLAGS@
359 XML_LIBS = @XML_LIBS@
360 XML_VERSION = @XML_VERSION@
361 X_CFLAGS = @X_CFLAGS@
362 X_EXTRA_LIBS = @X_EXTRA_LIBS@
364 X_PRE_LIBS = @X_PRE_LIBS@
367 abs_builddir = @abs_builddir@
368 abs_srcdir = @abs_srcdir@
369 abs_top_builddir = @abs_top_builddir@
370 abs_top_srcdir = @abs_top_srcdir@
371 ac_ct_AR = @ac_ct_AR@
372 ac_ct_CC = @ac_ct_CC@
373 ac_ct_CXX = @ac_ct_CXX@
374 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
375 ac_ct_F77 = @ac_ct_F77@
376 am__include = @am__include@
377 am__leading_dot = @am__leading_dot@
378 am__quote = @am__quote@
380 am__untar = @am__untar@
383 build_alias = @build_alias@
384 build_cpu = @build_cpu@
385 build_os = @build_os@
386 build_vendor = @build_vendor@
387 builddir = @builddir@
388 cxx_present = @cxx_present@
390 datarootdir = @datarootdir@
393 exec_prefix = @exec_prefix@
395 host_alias = @host_alias@
396 host_cpu = @host_cpu@
398 host_vendor = @host_vendor@
400 includedir = @includedir@
402 install_sh = @install_sh@
404 libexecdir = @libexecdir@
405 localedir = @localedir@
406 localstatedir = @localstatedir@
409 oldincludedir = @oldincludedir@
412 program_transform_name = @program_transform_name@
415 sharedstatedir = @sharedstatedir@
417 sysconfdir = @sysconfdir@
418 target_alias = @target_alias@
419 top_build_prefix = @top_build_prefix@
420 top_builddir = @top_builddir@
421 top_srcdir = @top_srcdir@
422 yacc_present = @yacc_present@
423 @NEED_JAVA_TRUE@USEANT = 1
425 # Where all the Scilab stuff is installed (macros, help, ...)
426 mydatadir = $(pkgdatadir)/modules/$(modulename)
428 # Set AM_* SCI detected settings
429 AM_CPPFLAGS = $(SCI_CPPFLAGS)
430 AM_CFLAGS = $(SCI_CFLAGS)
431 AM_CXXFLAGS = $(SCI_CXXFLAGS)
432 # append includes to AM_FFLAGS to manage fortran includes
433 AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
435 # Tag shared libraries with the Scilab version
436 AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
439 SPLINT_OPTIONS = -weak -booltype BOOL
441 ########################### JAVA ######################################
442 #### We are delegating java compilation to ant... Thanks to that
443 #### the procedure will be the same with Microsoft Windows (C)
445 #######################################################################
446 TARGETS_ALL = $(am__append_1)
448 ################ MACROS ######################
449 # Rule to build a macro
450 # NOT USED AT THE MOMENT
453 ########### INSTALL DOCUMENTATION ###################
455 # Install documentation files into the right target
456 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
457 # automake needs the html files to be present which is not the case when
458 # we are building Scilab
460 # Where it should be installed
461 pkgdocdir = $(mydatadir)
463 # What is the mask of the help source
466 # What is the mask of the MathML sources
469 ########### INSTALL DATA ###################
470 # Install macros, help & demos
471 # Where it should be installed
472 pkgmacrosdir = $(mydatadir)
473 # Which directory we process
475 # Mask of the Scilab sources macros
477 # Mask of the Scilab executable sources macros
478 MACROBUILDMASK = *.sce
479 # Mask of the Scilab compiled macros
481 # List of the standard directory for tests
482 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
483 # Where the demos should be installed
484 pkgdemosdir = $(mydatadir)
485 # List of the standard directory for demos
487 # List of the standard directory for examples
488 EXAMPLES_DIR = examples
489 # Where to export JAVA archives (.jar)
494 HELP_CHAPTERDIR = help/
495 HELP_CHAPTERFILE = addchapter.sce
496 HELP_CHAPTERLANG = en_US fr_FR pt_BR
501 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
503 case '$(am__configure_deps)' in \
505 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
506 && { if test -f $@; then exit 0; else break; fi; }; \
510 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/prebuildjava/Makefile'; \
511 $(am__cd) $(top_srcdir) && \
512 $(AUTOMAKE) --foreign modules/prebuildjava/Makefile
514 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
517 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
519 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
520 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
522 $(top_srcdir)/Makefile.incl.am:
524 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
525 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
527 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
528 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
529 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
530 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
531 $(am__aclocal_m4_deps):
545 distdir: $(DISTFILES)
546 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
547 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
548 list='$(DISTFILES)'; \
549 dist_files=`for file in $$list; do echo $$file; done | \
550 sed -e "s|^$$srcdirstrip/||;t" \
551 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
552 case $$dist_files in \
553 */*) $(MKDIR_P) `echo "$$dist_files" | \
554 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
557 for file in $$dist_files; do \
558 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
559 if test -d $$d/$$file; then \
560 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
561 if test -d "$(distdir)/$$file"; then \
562 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
564 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
565 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
566 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
568 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
570 test -f "$(distdir)/$$file" \
571 || cp -p $$d/$$file "$(distdir)/$$file" \
576 $(MAKE) $(AM_MAKEFLAGS) check-local
578 all-am: Makefile all-local
581 install-exec: install-exec-am
582 install-data: install-data-am
583 uninstall: uninstall-am
586 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
588 installcheck: installcheck-am
590 if test -z '$(STRIP)'; then \
591 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
592 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
595 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
596 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
597 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
604 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
605 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
607 maintainer-clean-generic:
608 @echo "This command is intended for maintainers to use"
609 @echo "it deletes files that may require special tools to rebuild."
612 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
614 distclean: distclean-am
616 distclean-am: clean-am distclean-generic distclean-local
630 install-data-am: install-data-local
632 install-dvi: install-dvi-am
638 install-html: install-html-am
640 install-html-am: install-html-local
642 install-info: install-info-am
648 install-pdf: install-pdf-am
652 install-ps: install-ps-am
658 maintainer-clean: maintainer-clean-am
660 maintainer-clean-am: distclean-am maintainer-clean-generic
662 mostlyclean: mostlyclean-am
664 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
676 .MAKE: check-am install-am install-strip
678 .PHONY: all all-am all-local check check-am check-local clean \
679 clean-generic clean-libtool clean-local cscopelist-am ctags-am \
680 distclean distclean-generic distclean-libtool distclean-local \
681 distdir dvi dvi-am html html-am info info-am install \
682 install-am install-data install-data-am install-data-local \
683 install-dvi install-dvi-am install-exec install-exec-am \
684 install-html install-html-am install-html-local install-info \
685 install-info-am install-man install-pdf install-pdf-am \
686 install-ps install-ps-am install-strip installcheck \
687 installcheck-am installdirs maintainer-clean \
688 maintainer-clean-generic mostlyclean mostlyclean-generic \
689 mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
693 @NEED_JAVA_TRUE@all: java
695 # This target enables tests for Scilab
696 check-local: $(top_builddir)/scilab-bin test
697 if test -d $(mydatadir)/tests; then \
698 @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
701 if test -f build.xml; then \
704 if test -x "$(SPLINT)"; then \
705 $(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); \
707 @NEED_JAVA_TRUE@java:
708 # Some configurations needs to export JAVA_HOME in the current env
709 @NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
710 @NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
711 @NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
712 @NEED_JAVA_TRUE@ $(ANT); \
715 @NEED_JAVA_TRUE@clean-java:
716 # Some configurations needs to export JAVA_HOME in the current env
717 @NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
718 @NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
719 @NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
720 @NEED_JAVA_TRUE@ $(ANT) clean; \
723 # If the user request for the SWIG generation of the wrappers Java => C/C++
724 # We call the target swig-build on the variable SWIG_WRAPPERS
726 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
727 @SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
728 @SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
729 @SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \
730 @SWIG_TRUE@ for file in $(SWIG_WRAPPERS) ; do \
731 @SWIG_TRUE@ echo "Swig process of $$file ..."; \
732 @SWIG_TRUE@ $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \
736 # If the user request for the SWIG generation of the wrappers Java => C/C++
737 # We call the target swig-build on the variable SWIG_WRAPPERS
739 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
740 @GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
741 @GIWS_TRUE@ if test -n "$(GIWS_WRAPPERS)"; then \
742 @GIWS_TRUE@ for file in $(GIWS_WRAPPERS) ; do \
743 @GIWS_TRUE@ echo "GIWS process of $$file ..."; \
744 @GIWS_TRUE@ $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
748 @GIWS_TRUE@giws-exception:
749 @GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
750 @GIWS_TRUE@ echo "GIWS: Generation of exception class ..."; \
751 @GIWS_TRUE@ $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR
754 -@( if test ! -x $(top_builddir)/scilab-bin; then \
755 echo "Error : Cannot build $< : Scilab has not been built"; \
757 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
762 # Removes macros (*.bin generated from .sci)
763 @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
764 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
765 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
769 # More tests could be added here
770 @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
771 if test -f build.xml -a $$USEANT -eq 1; then \
775 all-local: $(TARGETS_ALL)
778 -@( if test ! -x $(top_builddir)/scilab-bin; then \
779 echo "Error : Cannot build $< : Scilab has not been build"; \
781 echo "Creating $@"; \
782 $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
787 install-data-local-local:
789 @if test -d $(srcdir)/javadoc; then \
790 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
792 # If the user wants the help sources to be installed
793 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
794 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
795 @INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/$$lang; then \
796 @INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
797 @INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
798 @INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
799 @INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
800 @INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
801 @INSTALL_HELP_XML_TRUE@ done ; \
802 @INSTALL_HELP_XML_TRUE@ fi; \
803 @INSTALL_HELP_XML_TRUE@ fi; \
804 @INSTALL_HELP_XML_TRUE@ done; \
805 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
806 @INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/mml/; then \
807 @INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
808 @INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
809 @INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
810 @INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
811 @INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
812 @INSTALL_HELP_XML_TRUE@ done ; \
813 @INSTALL_HELP_XML_TRUE@ fi; \
814 @INSTALL_HELP_XML_TRUE@ fi
817 @echo "-------- Install tests (if any) --------"; \
818 for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
819 if test -d $(srcdir)/$$dir/; then \
820 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
821 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
822 if test -d "$(srcdir)/$$dir/$$file"; then \
823 echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
824 $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
826 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
827 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
832 # Install the help chapter
833 @echo "-------- Install the help chapter (if any) --------"; \
834 for lang in $(HELP_CHAPTERLANG); do \
835 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
836 if test -f $$HELPFILE; then \
837 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
838 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
839 echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
840 $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
843 # Install the demos & examples
844 @echo "-------- Install demos & examples (if any) --------"; \
845 for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
846 if test -d $(srcdir)/$$dir/; then \
847 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
848 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
849 if test -d "$(srcdir)/$$dir/$$file"; then \
850 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
851 $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
853 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
854 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
860 @echo "-------- Install macros (if any) --------"; \
861 for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
862 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
863 if test -d $(srcdir)/$$dir/; then \
864 FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
865 if test -n "$(MACROSSPECIALEXT)"; then \
867 for specialExt in $(MACROSSPECIALEXT); do \
868 specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
870 FILELIST="$$FILELIST $$specialExtDir"; \
872 for file in `ls -1 $$FILELIST 2>/dev/null`; do \
873 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
874 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
878 # Install java files (.jar)
879 @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
880 echo "-------- Install jar files --------"; \
881 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
882 for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
883 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
884 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
888 ########### CLEAN ###################
889 # Clean help (generated automatically by Scilab)
890 # It used to clean the macro (clean-macros) but this was causing
891 # make clean && make to fail Scilab startup
892 @NEED_JAVA_TRUE@clean-local: clean-java
893 @NEED_JAVA_FALSE@clean-local:
896 rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
898 .PHONY: macros java swig giws
900 # Tell versions [3.59,3.63) of GNU make to not export all variables.
901 # Otherwise a system limit (for SysV at least) may be exceeded.