1 # Makefile.in generated by automake 1.11.2 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
19 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
20 # Copyright (C) Scilab Enterprises - 2011 - Sylvestre Ledru
22 # This file must be used under the terms of the CeCILL.
23 # This source file is licensed as described in the file COPYING, which
24 # you should have received as part of this distribution. The terms
25 # are also available at
26 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
29 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
30 # Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
31 # Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
33 # This file must be used under the terms of the CeCILL.
34 # This source file is licensed as described in the file COPYING, which
35 # you should have received as part of this distribution. The terms
36 # are also available at
37 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
41 ### Makefile included stuff
42 ### Target, variable, suffixes which are supposed to be usefull in every makefile.am
45 pkgdatadir = $(datadir)/@PACKAGE@
46 pkgincludedir = $(includedir)/@PACKAGE@
47 pkglibdir = $(libdir)/@PACKAGE@
48 pkglibexecdir = $(libexecdir)/@PACKAGE@
49 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
50 install_sh_DATA = $(install_sh) -c -m 644
51 install_sh_PROGRAM = $(install_sh) -c
52 install_sh_SCRIPT = $(install_sh) -c
53 INSTALL_HEADER = $(INSTALL_DATA)
54 transform = $(program_transform_name)
61 build_triplet = @build@
63 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
64 $(top_srcdir)/Makefile.incl.am
65 @NEED_JAVA_TRUE@am__append_1 = java
66 subdir = modules/prebuildjava
67 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
68 am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
69 $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/docbook.m4 \
70 $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
71 $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
72 $(top_srcdir)/m4/intel_compiler.m4 \
73 $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
74 $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
75 $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
76 $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
77 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
78 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
79 $(top_srcdir)/m4/ocaml.m4 $(top_srcdir)/m4/pcre.m4 \
80 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/relocatable.m4 \
81 $(top_srcdir)/m4/swig.m4 $(top_srcdir)/m4/symlinks.m4 \
82 $(top_srcdir)/m4/tcltk.m4 $(top_srcdir)/m4/umfpack.m4 \
83 $(top_srcdir)/configure.ac
84 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
86 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
87 CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
89 CONFIG_CLEAN_VPATH_FILES =
92 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
94 ALL_LINGUAS = @ALL_LINGUAS@
95 ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
100 ARPACK_LIBS = @ARPACK_LIBS@
101 AUTOCONF = @AUTOCONF@
102 AUTOHEADER = @AUTOHEADER@
103 AUTOMAKE = @AUTOMAKE@
104 AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
107 BLAS_LIBS = @BLAS_LIBS@
111 CCDEPMODE = @CCDEPMODE@
113 CHECKSTYLE = @CHECKSTYLE@
114 COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
115 COMMONS_IO = @COMMONS_IO@
116 COMMONS_LOGGING = @COMMONS_LOGGING@
118 CPPFLAGS = @CPPFLAGS@
121 CXXDEPMODE = @CXXDEPMODE@
122 CXXFLAGS = @CXXFLAGS@
123 CYGPATH_W = @CYGPATH_W@
125 DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
127 DOCBOOK_ROOT = @DOCBOOK_ROOT@
128 DSYMUTIL = @DSYMUTIL@
137 FFTW3_LIB = @FFTW3_LIB@
138 FFTW_ENABLE = @FFTW_ENABLE@
140 FLEXDOCK = @FLEXDOCK@
144 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
145 GIWS_BIN = @GIWS_BIN@
146 GLUEGEN_RT = @GLUEGEN_RT@
148 GMSGFMT_015 = @GMSGFMT_015@
149 GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
151 GUI_ENABLE = @GUI_ENABLE@
152 HDF5_CFLAGS = @HDF5_CFLAGS@
153 HDF5_ENABLE = @HDF5_ENABLE@
154 HDF5_LIBS = @HDF5_LIBS@
155 HELP_ENABLE = @HELP_ENABLE@
157 INSTALL_DATA = @INSTALL_DATA@
158 INSTALL_PROGRAM = @INSTALL_PROGRAM@
159 INSTALL_SCRIPT = @INSTALL_SCRIPT@
160 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
161 INTLLIBS = @INTLLIBS@
162 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
166 JAVAC_DEBUG = @JAVAC_DEBUG@
169 JAVASCI_ENABLE = @JAVASCI_ENABLE@
170 JAVA_ENABLE = @JAVA_ENABLE@
172 JAVA_HOME = @JAVA_HOME@
173 JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
174 JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
175 JCOMMANDER = @JCOMMANDER@
177 JEUCLID_CORE = @JEUCLID_CORE@
181 JLATEXMATH = @JLATEXMATH@
182 JLATEXMATH_FOP = @JLATEXMATH_FOP@
184 JROSETTA_API = @JROSETTA_API@
185 JROSETTA_ENGINE = @JROSETTA_ENGINE@
187 LAPACK_LIBS = @LAPACK_LIBS@
191 LIBICONV = @LIBICONV@
199 LOGGING_LEVEL = @LOGGING_LEVEL@
201 LTLIBICONV = @LTLIBICONV@
202 LTLIBINTL = @LTLIBINTL@
203 LTLIBOBJS = @LTLIBOBJS@
205 MAKEINFO = @MAKEINFO@
206 MATIO_CFLAGS = @MATIO_CFLAGS@
207 MATIO_ENABLE = @MATIO_ENABLE@
208 MATIO_LIBS = @MATIO_LIBS@
212 MSGFMT_015 = @MSGFMT_015@
213 MSGMERGE = @MSGMERGE@
219 OCAMLDEP = @OCAMLDEP@
220 OCAMLLEX = @OCAMLLEX@
221 OCAMLOPT = @OCAMLOPT@
222 OCAMLYACC = @OCAMLYACC@
223 OPENMP_CFLAGS = @OPENMP_CFLAGS@
224 OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
225 OPENMP_ENABLE = @OPENMP_ENABLE@
226 OPENMP_LIBS = @OPENMP_LIBS@
230 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
231 PACKAGE_NAME = @PACKAGE_NAME@
232 PACKAGE_STRING = @PACKAGE_STRING@
233 PACKAGE_TARNAME = @PACKAGE_TARNAME@
234 PACKAGE_URL = @PACKAGE_URL@
235 PACKAGE_VERSION = @PACKAGE_VERSION@
236 PATH_SEPARATOR = @PATH_SEPARATOR@
237 PCRE_CFLAGS = @PCRE_CFLAGS@
238 PCRE_CONFIG = @PCRE_CONFIG@
239 PCRE_LIBS = @PCRE_LIBS@
240 PCRE_VERSION = @PCRE_VERSION@
241 PKG_CONFIG = @PKG_CONFIG@
247 RELOCATABLE = @RELOCATABLE@
250 SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
251 SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
252 SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
253 SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
254 SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
255 SCIRENDERER = @SCIRENDERER@
257 SET_MAKE = @SET_MAKE@
258 SET_RELOCATABLE = @SET_RELOCATABLE@
263 SWIG_BIN = @SWIG_BIN@
264 SWIG_JAVA = @SWIG_JAVA@
265 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
266 TCLTK_LIBS = @TCLTK_LIBS@
267 TCL_INC_PATH = @TCL_INC_PATH@
269 TK_INC_PATH = @TK_INC_PATH@
270 UMFPACK_ENABLE = @UMFPACK_ENABLE@
271 UMFPACK_LIB = @UMFPACK_LIB@
274 WITH_OCAML = @WITH_OCAML@
275 WITH_TKSCI = @WITH_TKSCI@
276 XCOS_ENABLE = @XCOS_ENABLE@
277 XGETTEXT = @XGETTEXT@
278 XGETTEXT_015 = @XGETTEXT_015@
279 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
281 XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
282 XML_APIS_EXT = @XML_APIS_EXT@
283 XML_CONFIG = @XML_CONFIG@
284 XML_FLAGS = @XML_FLAGS@
285 XML_LIBS = @XML_LIBS@
286 XML_VERSION = @XML_VERSION@
287 X_CFLAGS = @X_CFLAGS@
288 X_EXTRA_LIBS = @X_EXTRA_LIBS@
290 X_PRE_LIBS = @X_PRE_LIBS@
291 abs_builddir = @abs_builddir@
292 abs_srcdir = @abs_srcdir@
293 abs_top_builddir = @abs_top_builddir@
294 abs_top_srcdir = @abs_top_srcdir@
295 ac_ct_CC = @ac_ct_CC@
296 ac_ct_CXX = @ac_ct_CXX@
297 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
298 ac_ct_F77 = @ac_ct_F77@
299 am__include = @am__include@
300 am__leading_dot = @am__leading_dot@
301 am__quote = @am__quote@
303 am__untar = @am__untar@
306 build_alias = @build_alias@
307 build_cpu = @build_cpu@
308 build_os = @build_os@
309 build_vendor = @build_vendor@
310 builddir = @builddir@
311 cxx_present = @cxx_present@
313 datarootdir = @datarootdir@
316 exec_prefix = @exec_prefix@
318 host_alias = @host_alias@
319 host_cpu = @host_cpu@
321 host_vendor = @host_vendor@
323 includedir = @includedir@
325 install_sh = @install_sh@
327 libexecdir = @libexecdir@
328 localedir = @localedir@
329 localstatedir = @localstatedir@
332 oldincludedir = @oldincludedir@
335 program_transform_name = @program_transform_name@
338 sharedstatedir = @sharedstatedir@
340 sysconfdir = @sysconfdir@
341 target_alias = @target_alias@
342 top_build_prefix = @top_build_prefix@
343 top_builddir = @top_builddir@
344 top_srcdir = @top_srcdir@
345 @NEED_JAVA_TRUE@USEANT = 1
347 # Where all the Scilab stuff is installed (macros, help, ...)
348 mydatadir = $(pkgdatadir)/modules/$(modulename)
351 SPLINT_OPTIONS = -weak -booltype BOOL
353 ########################### JAVA ######################################
354 #### We are delegating java compilation to ant... Thanks to that
355 #### the procedure will be the same with Microsoft Windows (C)
357 #######################################################################
358 TARGETS_ALL = $(am__append_1)
360 ################ MACROS ######################
361 # Rule to build a macro
362 # NOT USED AT THE MOMENT
365 ########### INSTALL DOCUMENTATION ###################
367 # Install documentation files into the right target
368 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
369 # automake needs the html files to be present which is not the case when
370 # we are building Scilab
372 # Where it should be installed
373 pkgdocdir = $(mydatadir)
375 # What is the mask of the help source
378 # What is the mask of the MathML sources
381 ########### INSTALL DATA ###################
382 # Install macros, help & demos
383 # Where it should be installed
384 pkgmacrosdir = $(mydatadir)
385 # Which directory we process
387 # Mask of the Scilab sources macros
389 # Mask of the Scilab executable sources macros
390 MACROBUILDMASK = *.sce
391 # Mask of the Scilab compiled macros
393 # List of the standard directory for tests
394 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
395 # Where the demos should be installed
396 pkgdemosdir = $(mydatadir)
397 # List of the standard directory for demos
399 # List of the standard directory for examples
400 EXAMPLES_DIR = examples
401 # Where to export JAVA archives (.jar)
406 HELP_CHAPTERDIR = help/
407 HELP_CHAPTERFILE = addchapter.sce
408 HELP_CHAPTERLANG = en_US fr_FR pt_BR
413 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
415 case '$(am__configure_deps)' in \
417 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
418 && { if test -f $@; then exit 0; else break; fi; }; \
422 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/prebuildjava/Makefile'; \
423 $(am__cd) $(top_srcdir) && \
424 $(AUTOMAKE) --foreign modules/prebuildjava/Makefile
426 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
429 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
431 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
432 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
435 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
436 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
438 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
439 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
440 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
441 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
442 $(am__aclocal_m4_deps):
456 distdir: $(DISTFILES)
457 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
458 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
459 list='$(DISTFILES)'; \
460 dist_files=`for file in $$list; do echo $$file; done | \
461 sed -e "s|^$$srcdirstrip/||;t" \
462 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
463 case $$dist_files in \
464 */*) $(MKDIR_P) `echo "$$dist_files" | \
465 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
468 for file in $$dist_files; do \
469 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
470 if test -d $$d/$$file; then \
471 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
472 if test -d "$(distdir)/$$file"; then \
473 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
475 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
476 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
477 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
479 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
481 test -f "$(distdir)/$$file" \
482 || cp -p $$d/$$file "$(distdir)/$$file" \
487 $(MAKE) $(AM_MAKEFLAGS) check-local
489 all-am: Makefile all-local
492 install-exec: install-exec-am
493 install-data: install-data-am
494 uninstall: uninstall-am
497 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
499 installcheck: installcheck-am
501 if test -z '$(STRIP)'; then \
502 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
503 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
506 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
507 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
508 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
515 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
516 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
518 maintainer-clean-generic:
519 @echo "This command is intended for maintainers to use"
520 @echo "it deletes files that may require special tools to rebuild."
523 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
525 distclean: distclean-am
527 distclean-am: clean-am distclean-generic distclean-local
541 install-data-am: install-data-local
543 install-dvi: install-dvi-am
549 install-html: install-html-am
551 install-html-am: install-html-local
553 install-info: install-info-am
559 install-pdf: install-pdf-am
563 install-ps: install-ps-am
569 maintainer-clean: maintainer-clean-am
571 maintainer-clean-am: distclean-am maintainer-clean-generic
573 mostlyclean: mostlyclean-am
575 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
587 .MAKE: check-am install-am install-strip
589 .PHONY: all all-am all-local check check-am check-local clean \
590 clean-generic clean-libtool clean-local distclean \
591 distclean-generic distclean-libtool distclean-local distdir \
592 dvi dvi-am html html-am info info-am install install-am \
593 install-data install-data-am install-data-local install-dvi \
594 install-dvi-am install-exec install-exec-am install-html \
595 install-html-am install-html-local install-info \
596 install-info-am install-man install-pdf install-pdf-am \
597 install-ps install-ps-am install-strip installcheck \
598 installcheck-am installdirs maintainer-clean \
599 maintainer-clean-generic mostlyclean mostlyclean-generic \
600 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
604 @NEED_JAVA_TRUE@ $(ANT)
606 # This target enables tests for Scilab
607 check-local: $(top_builddir)/scilab-bin test
608 @COMMAND="test_run('$(modulename)');quit";\
610 $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"
612 if test -f build.xml; then \
615 if test -x "$(SPLINT)"; then \
616 $(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); \
618 @NEED_JAVA_TRUE@java:
619 # Some configurations needs to export JAVA_HOME in the current env
620 @NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
621 @NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
622 @NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
623 @NEED_JAVA_TRUE@ $(ANT); \
626 @NEED_JAVA_TRUE@clean-java:
627 # Some configurations needs to export JAVA_HOME in the current env
628 @NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
629 @NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
630 @NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
631 @NEED_JAVA_TRUE@ $(ANT) clean; \
634 # If the user request for the SWIG generation of the wrappers Java => C/C++
635 # We call the target swig-build on the variable SWIG_WRAPPERS
637 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
638 @SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
639 @SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
640 @SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \
641 @SWIG_TRUE@ for file in $(SWIG_WRAPPERS) ; do \
642 @SWIG_TRUE@ echo "Swig process of $$file ..."; \
643 @SWIG_TRUE@ $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \
647 # If the user request for the SWIG generation of the wrappers Java => C/C++
648 # We call the target swig-build on the variable SWIG_WRAPPERS
650 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
651 @GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
652 @GIWS_TRUE@ if test -n "$(GIWS_WRAPPERS)"; then \
653 @GIWS_TRUE@ for file in $(GIWS_WRAPPERS) ; do \
654 @GIWS_TRUE@ echo "GIWS process of $$file ..."; \
655 @GIWS_TRUE@ $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
659 @GIWS_TRUE@giws-exception:
660 @GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
661 @GIWS_TRUE@ echo "GIWS: Generation of exception class ..."; \
662 @GIWS_TRUE@ $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR
665 -@( if test ! -x $(top_builddir)/scilab-bin; then \
666 echo "Error : Cannot build $< : Scilab has not been built"; \
668 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
673 # Removes macros (*.bin generated from .sci)
674 @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
675 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
676 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
680 # More tests could be added here
681 @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
682 if test -f build.xml -a $$USEANT -eq 1; then \
686 all-local: $(TARGETS_ALL)
689 -@( if test ! -x $(top_builddir)/scilab-bin; then \
690 echo "Error : Cannot build $< : Scilab has not been build"; \
692 echo "Creating $@"; \
693 $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
698 install-data-local-local:
700 @if test -d $(srcdir)/javadoc; then \
701 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
703 # If the user wants the help sources to be installed
704 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
705 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
706 @INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/$$lang; then \
707 @INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
708 @INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
709 @INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
710 @INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
711 @INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
712 @INSTALL_HELP_XML_TRUE@ done ; \
713 @INSTALL_HELP_XML_TRUE@ fi; \
714 @INSTALL_HELP_XML_TRUE@ fi; \
715 @INSTALL_HELP_XML_TRUE@ done; \
716 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
717 @INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/mml/; then \
718 @INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
719 @INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
720 @INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
721 @INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
722 @INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
723 @INSTALL_HELP_XML_TRUE@ done ; \
724 @INSTALL_HELP_XML_TRUE@ fi; \
725 @INSTALL_HELP_XML_TRUE@ fi
728 @echo "-------- Install tests (if any) --------"; \
729 for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
730 if test -d $(srcdir)/$$dir/; then \
731 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
732 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
733 if test -d "$(srcdir)/$$dir/$$file"; then \
734 echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
735 $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
737 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
738 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
743 # Install the help chapter
744 @echo "-------- Install the help chapter (if any) --------"; \
745 for lang in $(HELP_CHAPTERLANG); do \
746 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
747 if test -f $$HELPFILE; then \
748 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
749 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
750 echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
751 $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
754 # Install the demos & examples
755 @echo "-------- Install demos & examples (if any) --------"; \
756 for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
757 if test -d $(srcdir)/$$dir/; then \
758 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
759 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
760 if test -d "$(srcdir)/$$dir/$$file"; then \
761 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
762 $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
764 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
765 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
771 @echo "-------- Install macros (if any) --------"; \
772 for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
773 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
774 if test -d $(srcdir)/$$dir/; then \
775 FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
776 if test -n "$(MACROSSPECIALEXT)"; then \
778 for specialExt in $(MACROSSPECIALEXT); do \
779 specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
781 FILELIST="$$FILELIST $$specialExtDir"; \
783 for file in `ls -1 $$FILELIST 2>/dev/null`; do \
784 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
785 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
789 # Install java files (.jar)
790 @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
791 echo "-------- Install jar files --------"; \
792 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
793 for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
794 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
795 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
799 ########### CLEAN ###################
800 # Clean help (generated automatically by Scilab)
801 # It used to clean the macro (clean-macros) but this was causing
802 # make clean && make to fail Scilab startup
803 @NEED_JAVA_TRUE@clean-local: clean-java
804 @NEED_JAVA_FALSE@clean-local:
807 rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
809 .PHONY: macros java swig giws
811 # Tell versions [3.59,3.63) of GNU make to not export all variables.
812 # Otherwise a system limit (for SysV at least) may be exceeded.