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
17 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
18 # Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
19 # Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
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-en.txt
29 ### Makefile included stuff
30 ### Target, variable, suffixes which are supposed to be useful in every makefile.am
35 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
36 am__make_running_with_option = \
37 case $${target_option-} in \
39 *) echo "am__make_running_with_option: internal error: invalid" \
40 "target option '$${target_option-}' specified" >&2; \
44 sane_makeflags=$$MAKEFLAGS; \
45 if $(am__is_gnu_make); then \
46 sane_makeflags=$$MFLAGS; \
51 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
52 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
58 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
60 for flg in $$sane_makeflags; do \
61 test $$skip_next = yes && { skip_next=no; continue; }; \
64 -*I) strip_trailopt 'I'; skip_next=yes;; \
65 -*I?*) strip_trailopt 'I';; \
66 -*O) strip_trailopt 'O'; skip_next=yes;; \
67 -*O?*) strip_trailopt 'O';; \
68 -*l) strip_trailopt 'l'; skip_next=yes;; \
69 -*l?*) strip_trailopt 'l';; \
70 -[dEDm]) skip_next=yes;; \
71 -[JT]) skip_next=yes;; \
74 *$$target_option*) has_opt=yes; break;; \
78 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
79 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
80 pkgdatadir = $(datadir)/@PACKAGE@
81 pkgincludedir = $(includedir)/@PACKAGE@
82 pkglibdir = $(libdir)/@PACKAGE@
83 pkglibexecdir = $(libexecdir)/@PACKAGE@
84 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
85 install_sh_DATA = $(install_sh) -c -m 644
86 install_sh_PROGRAM = $(install_sh) -c
87 install_sh_SCRIPT = $(install_sh) -c
88 INSTALL_HEADER = $(INSTALL_DATA)
89 transform = $(program_transform_name)
96 build_triplet = @build@
98 DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \
99 $(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs \
100 $(top_srcdir)/config/depcomp $(libscijit_la_include_HEADERS)
101 @NEED_JAVA_TRUE@am__append_1 = java
103 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
104 am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
105 $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \
106 $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \
107 $(top_srcdir)/m4/eigen.m4 $(top_srcdir)/m4/fftw.m4 \
108 $(top_srcdir)/m4/fortran.m4 $(top_srcdir)/m4/giws.m4 \
109 $(top_srcdir)/m4/hdf5.m4 $(top_srcdir)/m4/intel_compiler.m4 \
110 $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
111 $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
112 $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
113 $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
114 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
115 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
116 $(top_srcdir)/m4/ocaml.m4 $(top_srcdir)/m4/pcre.m4 \
117 $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/relocatable.m4 \
118 $(top_srcdir)/m4/swig.m4 $(top_srcdir)/m4/symlinks.m4 \
119 $(top_srcdir)/m4/tcltk.m4 $(top_srcdir)/m4/umfpack.m4 \
120 $(top_srcdir)/m4/vmkit.m4 $(top_srcdir)/configure.ac
121 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
123 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
124 CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
126 CONFIG_CLEAN_VPATH_FILES =
127 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
128 am__vpath_adj = case $$p in \
129 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
132 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
134 am__nobase_strip_setup = \
135 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
137 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
138 am__nobase_list = $(am__nobase_strip_setup); \
139 for p in $$list; do echo "$$p $$p"; done | \
140 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
141 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
142 if (++n[$$2] == $(am__install_max)) \
143 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
144 END { for (dir in files) print dir, files[dir] }'
146 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
147 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
148 am__uninstall_files_from_dir = { \
150 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
151 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
152 $(am__cd) "$$dir" && rm -f $$files; }; \
154 am__installdirs = "$(DESTDIR)$(pkglibdir)" \
155 "$(DESTDIR)$(libscijit_la_includedir)"
156 LTLIBRARIES = $(pkglib_LTLIBRARIES)
157 libscijit_la_LIBADD =
158 am__objects_1 = libscijit_la-jitter.lo
159 am__objects_2 = libscijit_la-sci_runVMKit.lo
160 am_libscijit_la_OBJECTS = $(am__objects_1) $(am__objects_2)
161 libscijit_la_OBJECTS = $(am_libscijit_la_OBJECTS)
162 AM_V_lt = $(am__v_lt_@AM_V@)
163 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
164 am__v_lt_0 = --silent
166 AM_V_P = $(am__v_P_@AM_V@)
167 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
170 AM_V_GEN = $(am__v_GEN_@AM_V@)
171 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
172 am__v_GEN_0 = @echo " GEN " $@;
174 AM_V_at = $(am__v_at_@AM_V@)
175 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
178 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
179 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
180 am__depfiles_maybe = depfiles
182 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
183 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
184 LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
185 $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
186 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
187 $(AM_CXXFLAGS) $(CXXFLAGS)
188 AM_V_CXX = $(am__v_CXX_@AM_V@)
189 am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
190 am__v_CXX_0 = @echo " CXX " $@;
193 CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
194 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
195 $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
196 AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
197 am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
198 am__v_CXXLD_0 = @echo " CXXLD " $@;
200 SOURCES = $(libscijit_la_SOURCES)
201 DIST_SOURCES = $(libscijit_la_SOURCES)
202 am__can_run_installinfo = \
203 case $$AM_UPDATE_INFO_DIR in \
205 *) (install-info --version) >/dev/null 2>&1;; \
207 HEADERS = $(libscijit_la_include_HEADERS)
208 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
209 # Read a list of newline-separated strings from the standard input,
210 # and print each of them once, without duplicates. Input order is
212 am__uniquify_input = $(AWK) '\
213 BEGIN { nonempty = 0; } \
214 { items[$$0] = 1; nonempty = 1; } \
215 END { if (nonempty) { for (i in items) print i; }; } \
217 # Make sure the list of sources is unique. This is necessary because,
218 # e.g., the same source file might be shared among _SOURCES variables
219 # for different programs/libraries.
220 am__define_uniq_tagged_files = \
221 list='$(am__tagged_files)'; \
222 unique=`for i in $$list; do \
223 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
224 done | $(am__uniquify_input)`
227 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
229 ALL_LINGUAS = @ALL_LINGUAS@
230 ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
232 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
236 ARPACK_LIBS = @ARPACK_LIBS@
238 AUTOCONF = @AUTOCONF@
239 AUTOHEADER = @AUTOHEADER@
240 AUTOMAKE = @AUTOMAKE@
241 AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
244 BLAS_LIBS = @BLAS_LIBS@
247 CCDEPMODE = @CCDEPMODE@
249 CHECKSTYLE = @CHECKSTYLE@
250 COBERTURA = @COBERTURA@
251 COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
252 COMMONS_IO = @COMMONS_IO@
253 COMMONS_LOGGING = @COMMONS_LOGGING@
255 CPPFLAGS = @CPPFLAGS@
256 CURL_CFLAGS = @CURL_CFLAGS@
257 CURL_CONFIG = @CURL_CONFIG@
258 CURL_LIBS = @CURL_LIBS@
259 CURL_VERSION = @CURL_VERSION@
262 CXXDEPMODE = @CXXDEPMODE@
263 CXXFLAGS = @CXXFLAGS@
264 CYGPATH_W = @CYGPATH_W@
266 DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
268 DOCBOOK_ROOT = @DOCBOOK_ROOT@
269 DOXYGEN_BIN = @DOXYGEN_BIN@
270 DSYMUTIL = @DSYMUTIL@
276 EIGEN_CPPFLAGS = @EIGEN_CPPFLAGS@
280 FFTW3_LIB = @FFTW3_LIB@
281 FFTW_ENABLE = @FFTW_ENABLE@
283 FLEXDOCK = @FLEXDOCK@
287 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
288 GIWS_BIN = @GIWS_BIN@
289 GLUEGEN2_RT = @GLUEGEN2_RT@
291 GMSGFMT_015 = @GMSGFMT_015@
292 GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
294 GUI_ENABLE = @GUI_ENABLE@
295 HDF5_CFLAGS = @HDF5_CFLAGS@
296 HDF5_LIBS = @HDF5_LIBS@
297 HELP_ENABLE = @HELP_ENABLE@
299 INSTALL_DATA = @INSTALL_DATA@
300 INSTALL_PROGRAM = @INSTALL_PROGRAM@
301 INSTALL_SCRIPT = @INSTALL_SCRIPT@
302 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
303 INTLLIBS = @INTLLIBS@
304 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
308 JAVAC_DEBUG = @JAVAC_DEBUG@
311 JAVASCI_ENABLE = @JAVASCI_ENABLE@
312 JAVA_ENABLE = @JAVA_ENABLE@
314 JAVA_HOME = @JAVA_HOME@
315 JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
316 JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
318 JEUCLID_CORE = @JEUCLID_CORE@
321 JLATEXMATH = @JLATEXMATH@
322 JLATEXMATH_FOP = @JLATEXMATH_FOP@
324 JROSETTA_API = @JROSETTA_API@
325 JROSETTA_ENGINE = @JROSETTA_ENGINE@
327 LAPACK_LIBS = @LAPACK_LIBS@
333 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
334 LIBICONV = @LIBICONV@
341 LLVM_INCLUDE_DIR = @LLVM_INCLUDE_DIR@
342 LLVM_LIB_DIR = @LLVM_LIB_DIR@
344 LOGGING_LEVEL = @LOGGING_LEVEL@
346 LTLIBICONV = @LTLIBICONV@
347 LTLIBINTL = @LTLIBINTL@
348 LTLIBOBJS = @LTLIBOBJS@
350 MAKEINFO = @MAKEINFO@
351 MATIO_CFLAGS = @MATIO_CFLAGS@
352 MATIO_ENABLE = @MATIO_ENABLE@
353 MATIO_LIBS = @MATIO_LIBS@
357 MSGFMT_015 = @MSGFMT_015@
358 MSGMERGE = @MSGMERGE@
364 OCAMLDEP = @OCAMLDEP@
365 OCAMLLEX = @OCAMLLEX@
366 OCAMLOPT = @OCAMLOPT@
367 OCAMLYACC = @OCAMLYACC@
368 OPENMP_CFLAGS = @OPENMP_CFLAGS@
369 OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
370 OPENMP_ENABLE = @OPENMP_ENABLE@
371 OPENMP_LIBS = @OPENMP_LIBS@
375 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
376 PACKAGE_NAME = @PACKAGE_NAME@
377 PACKAGE_STRING = @PACKAGE_STRING@
378 PACKAGE_TARNAME = @PACKAGE_TARNAME@
379 PACKAGE_URL = @PACKAGE_URL@
380 PACKAGE_VERSION = @PACKAGE_VERSION@
381 PATH_SEPARATOR = @PATH_SEPARATOR@
382 PCRE_CFLAGS = @PCRE_CFLAGS@
383 PCRE_CONFIG = @PCRE_CONFIG@
384 PCRE_LIBS = @PCRE_LIBS@
385 PCRE_VERSION = @PCRE_VERSION@
386 PKG_CONFIG = @PKG_CONFIG@
391 RELOCATABLE = @RELOCATABLE@
394 SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
395 SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
396 SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
397 SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
398 SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
399 SCIRENDERER = @SCIRENDERER@
400 SCIRENDERER_CP = @SCIRENDERER_CP@
401 SCI_CFLAGS = @SCI_CFLAGS@
402 SCI_CXXFLAGS = @SCI_CXXFLAGS@
403 SCI_FFLAGS = @SCI_FFLAGS@
404 SCI_LDFLAGS = @SCI_LDFLAGS@
406 SET_MAKE = @SET_MAKE@
407 SET_RELOCATABLE = @SET_RELOCATABLE@
412 SWIG_BIN = @SWIG_BIN@
413 SWIG_JAVA = @SWIG_JAVA@
414 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
415 TCLTK_LIBS = @TCLTK_LIBS@
416 TCL_INC_PATH = @TCL_INC_PATH@
417 TK_INC_PATH = @TK_INC_PATH@
418 UMFPACK_ENABLE = @UMFPACK_ENABLE@
419 UMFPACK_LIB = @UMFPACK_LIB@
422 VMKIT_BIN_DIR = @VMKIT_BIN_DIR@
423 VMKIT_CPPFLAGS = @VMKIT_CPPFLAGS@
424 VMKIT_INCLUDE_DIR = @VMKIT_INCLUDE_DIR@
425 VMKIT_LDADD = @VMKIT_LDADD@
426 VMKIT_LDFLAGS = @VMKIT_LDFLAGS@
427 WITH_OCAML = @WITH_OCAML@
428 WITH_TKSCI = @WITH_TKSCI@
429 XCOS_ENABLE = @XCOS_ENABLE@
430 XGETTEXT = @XGETTEXT@
431 XGETTEXT_015 = @XGETTEXT_015@
432 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
434 XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
435 XML_APIS_EXT = @XML_APIS_EXT@
436 XML_CONFIG = @XML_CONFIG@
437 XML_FLAGS = @XML_FLAGS@
438 XML_LIBS = @XML_LIBS@
439 XML_VERSION = @XML_VERSION@
440 X_CFLAGS = @X_CFLAGS@
441 X_EXTRA_LIBS = @X_EXTRA_LIBS@
443 X_PRE_LIBS = @X_PRE_LIBS@
446 abs_builddir = @abs_builddir@
447 abs_srcdir = @abs_srcdir@
448 abs_top_builddir = @abs_top_builddir@
449 abs_top_srcdir = @abs_top_srcdir@
450 ac_ct_AR = @ac_ct_AR@
451 ac_ct_CC = @ac_ct_CC@
452 ac_ct_CXX = @ac_ct_CXX@
453 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
454 ac_ct_F77 = @ac_ct_F77@
455 am__include = @am__include@
456 am__leading_dot = @am__leading_dot@
457 am__quote = @am__quote@
459 am__untar = @am__untar@
462 build_alias = @build_alias@
463 build_cpu = @build_cpu@
464 build_os = @build_os@
465 build_vendor = @build_vendor@
466 builddir = @builddir@
467 cxx_present = @cxx_present@
469 datarootdir = @datarootdir@
472 exec_prefix = @exec_prefix@
474 host_alias = @host_alias@
475 host_cpu = @host_cpu@
477 host_vendor = @host_vendor@
479 includedir = @includedir@
481 install_sh = @install_sh@
483 libexecdir = @libexecdir@
484 localedir = @localedir@
485 localstatedir = @localstatedir@
488 oldincludedir = @oldincludedir@
491 program_transform_name = @program_transform_name@
494 sharedstatedir = @sharedstatedir@
496 sysconfdir = @sysconfdir@
497 target_alias = @target_alias@
498 top_build_prefix = @top_build_prefix@
499 top_builddir = @top_builddir@
500 top_srcdir = @top_srcdir@
501 yacc_present = @yacc_present@
502 pkglib_LTLIBRARIES = libscijit.la
506 GATEWAY_CPP_SOURCES = \
507 sci_gateway/cpp/sci_runVMKit.cpp
509 libscijit_la_CPPFLAGS = \
512 -I$(top_srcdir)/modules/types/includes \
513 -I$(top_srcdir)/modules/localization/includes \
514 -I$(top_srcdir)/modules/symbol/includes \
515 -I$(top_srcdir)/modules/operations/includes \
516 -I$(top_srcdir)/modules/system_env/includes \
517 -I$(top_srcdir)/modules/threads/includes \
518 -I$(top_srcdir)/modules/api_scilab/includes \
519 -I$(top_srcdir)/modules/dynamic_link/includes \
520 -I$(top_srcdir)/modules/string/includes \
521 -I$(top_srcdir)/modules/console/includes \
522 -I$(top_srcdir)/modules/ast/includes \
523 -I$(top_srcdir)/modules/output_stream/includes \
524 -I$(top_srcdir)/modules/functions_manager/includes \
529 libscijit_la_SOURCES = $(JIT_CPP_SOURCES) $(GATEWAY_CPP_SOURCES)
530 libscijit_la_includedir = $(pkgincludedir)
531 libscijit_la_include_HEADERS =
536 -I$(top_srcdir)/modules/symbol/includes \
541 $(top_builddir)/modules/symbol/libsciSymbol.la \
542 $(top_builddir)/modules/jit/libscijit.la \
543 $(top_builddir)/modules/types/libsciTypes.la
545 testConstExp_SOURCES = src/cpp/testConstExp.cpp
546 testConstExp_CXXFLAGS = $(check_INCLUDES)
547 testConstExp_LDADD = $(check_LDADD)
548 testVarExp_SOURCES = src/cpp/testVarExp.cpp
549 testVarExp_CXXFLAGS = $(check_INCLUDES)
550 testVarExp_LDADD = $(check_LDADD)
551 testControlExp_SOURCES = src/cpp/testControlExp.cpp
552 testControlExp_CXXFLAGS = $(check_INCLUDES)
553 testControlExp_LDADD = $(check_LDADD)
555 # This target transforms a basic code to llvm + clang code for the JIT
556 BUILT_SOURCES = src/cpp/llvm-wrapper-generated.cpp
558 # Where all the Scilab stuff is installed (macros, help, ...)
559 mydatadir = $(pkgdatadir)/modules/$(modulename)
561 # Set AM_* SCI detected settings
562 AM_CPPFLAGS = $(SCI_CPPFLAGS)
563 AM_CFLAGS = $(SCI_CFLAGS)
564 AM_CXXFLAGS = $(SCI_CXXFLAGS)
565 # append includes to AM_FFLAGS to manage fortran includes
566 AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
568 # Tag shared libraries with the Scilab version
569 AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
572 SPLINT_OPTIONS = -weak -booltype BOOL
574 ########################### JAVA ######################################
575 #### We are delegating java compilation to ant... Thanks to that
576 #### the procedure will be the same with Microsoft Windows (C)
578 #######################################################################
579 TARGETS_ALL = $(am__append_1)
581 ################ MACROS ######################
582 # Rule to build a macro
583 # NOT USED AT THE MOMENT
586 ########### INSTALL DOCUMENTATION ###################
588 # Install documentation files into the right target
589 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
590 # automake needs the html files to be present which is not the case when
591 # we are building Scilab
593 # Where it should be installed
594 pkgdocdir = $(mydatadir)
596 # What is the mask of the help source
599 # What is the mask of the MathML sources
602 ########### INSTALL DATA ###################
603 # Install macros, help & demos
604 # Where it should be installed
605 pkgmacrosdir = $(mydatadir)
606 # Which directory we process
608 # Mask of the Scilab sources macros
610 # Mask of the Scilab executable sources macros
611 MACROBUILDMASK = *.sce
612 # Mask of the Scilab compiled macros
614 # List of the standard directory for tests
615 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
616 # Where the demos should be installed
617 pkgdemosdir = $(mydatadir)
618 # List of the standard directory for demos
620 # List of the standard directory for examples
621 EXAMPLES_DIR = examples
622 # Where to export JAVA archives (.jar)
627 HELP_CHAPTERDIR = help/
628 HELP_CHAPTERFILE = addchapter.sce
629 HELP_CHAPTERLANG = en_US fr_FR pt_BR
630 all: $(BUILT_SOURCES)
631 $(MAKE) $(AM_MAKEFLAGS) all-am
634 .SUFFIXES: .sci .bin .cpp .lo .o .obj
635 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
637 case '$(am__configure_deps)' in \
639 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
640 && { if test -f $@; then exit 0; else break; fi; }; \
644 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/jit/Makefile'; \
645 $(am__cd) $(top_srcdir) && \
646 $(AUTOMAKE) --foreign modules/jit/Makefile
648 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
651 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
653 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
654 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
656 $(top_srcdir)/Makefile.incl.am:
658 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
659 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
661 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
662 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
663 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
664 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
665 $(am__aclocal_m4_deps):
667 install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
669 @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
670 list2=; for p in $$list; do \
671 if test -f $$p; then \
672 list2="$$list2 $$p"; \
675 test -z "$$list2" || { \
676 echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
677 $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
678 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
679 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
682 uninstall-pkglibLTLIBRARIES:
684 @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
685 for p in $$list; do \
687 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
688 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
691 clean-pkglibLTLIBRARIES:
692 -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
693 @list='$(pkglib_LTLIBRARIES)'; \
694 locs=`for p in $$list; do echo $$p; done | \
695 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
697 test -z "$$locs" || { \
698 echo rm -f $${locs}; \
702 libscijit.la: $(libscijit_la_OBJECTS) $(libscijit_la_DEPENDENCIES) $(EXTRA_libscijit_la_DEPENDENCIES)
703 $(AM_V_CXXLD)$(CXXLINK) -rpath $(pkglibdir) $(libscijit_la_OBJECTS) $(libscijit_la_LIBADD) $(LIBS)
711 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscijit_la-jitter.Plo@am__quote@
712 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscijit_la-sci_runVMKit.Plo@am__quote@
715 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
716 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
717 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
718 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
719 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
722 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
723 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
724 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
725 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
726 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
729 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
730 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
731 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
732 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
733 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
735 libscijit_la-jitter.lo: src/cpp/jitter.cpp
736 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijit_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscijit_la-jitter.lo -MD -MP -MF $(DEPDIR)/libscijit_la-jitter.Tpo -c -o libscijit_la-jitter.lo `test -f 'src/cpp/jitter.cpp' || echo '$(srcdir)/'`src/cpp/jitter.cpp
737 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libscijit_la-jitter.Tpo $(DEPDIR)/libscijit_la-jitter.Plo
738 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/cpp/jitter.cpp' object='libscijit_la-jitter.lo' libtool=yes @AMDEPBACKSLASH@
739 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
740 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijit_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscijit_la-jitter.lo `test -f 'src/cpp/jitter.cpp' || echo '$(srcdir)/'`src/cpp/jitter.cpp
742 libscijit_la-sci_runVMKit.lo: sci_gateway/cpp/sci_runVMKit.cpp
743 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijit_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscijit_la-sci_runVMKit.lo -MD -MP -MF $(DEPDIR)/libscijit_la-sci_runVMKit.Tpo -c -o libscijit_la-sci_runVMKit.lo `test -f 'sci_gateway/cpp/sci_runVMKit.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_runVMKit.cpp
744 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libscijit_la-sci_runVMKit.Tpo $(DEPDIR)/libscijit_la-sci_runVMKit.Plo
745 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='sci_gateway/cpp/sci_runVMKit.cpp' object='libscijit_la-sci_runVMKit.lo' libtool=yes @AMDEPBACKSLASH@
746 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
747 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscijit_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscijit_la-sci_runVMKit.lo `test -f 'sci_gateway/cpp/sci_runVMKit.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_runVMKit.cpp
754 install-libscijit_la_includeHEADERS: $(libscijit_la_include_HEADERS)
756 @list='$(libscijit_la_include_HEADERS)'; test -n "$(libscijit_la_includedir)" || list=; \
757 if test -n "$$list"; then \
758 echo " $(MKDIR_P) '$(DESTDIR)$(libscijit_la_includedir)'"; \
759 $(MKDIR_P) "$(DESTDIR)$(libscijit_la_includedir)" || exit 1; \
761 for p in $$list; do \
762 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
764 done | $(am__base_list) | \
765 while read files; do \
766 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libscijit_la_includedir)'"; \
767 $(INSTALL_HEADER) $$files "$(DESTDIR)$(libscijit_la_includedir)" || exit $$?; \
770 uninstall-libscijit_la_includeHEADERS:
772 @list='$(libscijit_la_include_HEADERS)'; test -n "$(libscijit_la_includedir)" || list=; \
773 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
774 dir='$(DESTDIR)$(libscijit_la_includedir)'; $(am__uninstall_files_from_dir)
776 ID: $(am__tagged_files)
777 $(am__define_uniq_tagged_files); mkid -fID $$unique
781 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
784 $(am__define_uniq_tagged_files); \
786 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
787 test -n "$$unique" || unique=$$empty_fix; \
788 if test $$# -gt 0; then \
789 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
792 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
799 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
800 $(am__define_uniq_tagged_files); \
801 test -z "$(CTAGS_ARGS)$$unique" \
802 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
806 here=`$(am__cd) $(top_builddir) && pwd` \
807 && $(am__cd) $(top_srcdir) \
808 && gtags -i $(GTAGS_ARGS) "$$here"
809 cscopelist: cscopelist-am
811 cscopelist-am: $(am__tagged_files)
812 list='$(am__tagged_files)'; \
813 case "$(srcdir)" in \
814 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
815 *) sdir=$(subdir)/$(srcdir) ;; \
817 for i in $$list; do \
818 if test -f "$$i"; then \
819 echo "$(subdir)/$$i"; \
823 done >> $(top_builddir)/cscope.files
826 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
828 distdir: $(DISTFILES)
829 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
830 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
831 list='$(DISTFILES)'; \
832 dist_files=`for file in $$list; do echo $$file; done | \
833 sed -e "s|^$$srcdirstrip/||;t" \
834 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
835 case $$dist_files in \
836 */*) $(MKDIR_P) `echo "$$dist_files" | \
837 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
840 for file in $$dist_files; do \
841 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
842 if test -d $$d/$$file; then \
843 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
844 if test -d "$(distdir)/$$file"; then \
845 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
847 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
848 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
849 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
851 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
853 test -f "$(distdir)/$$file" \
854 || cp -p $$d/$$file "$(distdir)/$$file" \
859 $(MAKE) $(AM_MAKEFLAGS) check-local
860 check: $(BUILT_SOURCES)
861 $(MAKE) $(AM_MAKEFLAGS) check-am
862 all-am: Makefile $(LTLIBRARIES) $(HEADERS) all-local
864 for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscijit_la_includedir)"; do \
865 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
867 install: $(BUILT_SOURCES)
868 $(MAKE) $(AM_MAKEFLAGS) install-am
869 install-exec: install-exec-am
870 install-data: install-data-am
871 uninstall: uninstall-am
874 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
876 installcheck: installcheck-am
878 if test -z '$(STRIP)'; then \
879 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
880 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
883 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
884 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
885 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
892 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
893 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
895 maintainer-clean-generic:
896 @echo "This command is intended for maintainers to use"
897 @echo "it deletes files that may require special tools to rebuild."
898 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
901 clean-am: clean-generic clean-libtool clean-local \
902 clean-pkglibLTLIBRARIES mostlyclean-am
904 distclean: distclean-am
907 distclean-am: clean-am distclean-compile distclean-generic \
908 distclean-local distclean-tags
922 install-data-am: install-data-local \
923 install-libscijit_la_includeHEADERS
925 install-dvi: install-dvi-am
929 install-exec-am: install-pkglibLTLIBRARIES
931 install-html: install-html-am
933 install-html-am: install-html-local
935 install-info: install-info-am
941 install-pdf: install-pdf-am
945 install-ps: install-ps-am
951 maintainer-clean: maintainer-clean-am
954 maintainer-clean-am: distclean-am maintainer-clean-generic
956 mostlyclean: mostlyclean-am
958 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
969 uninstall-am: uninstall-libscijit_la_includeHEADERS \
970 uninstall-pkglibLTLIBRARIES
972 .MAKE: all check check-am install install-am install-strip
974 .PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am \
975 check-local clean clean-generic clean-libtool clean-local \
976 clean-pkglibLTLIBRARIES cscopelist-am ctags ctags-am distclean \
977 distclean-compile distclean-generic distclean-libtool \
978 distclean-local distclean-tags distdir dvi dvi-am html html-am \
979 info info-am install install-am install-data install-data-am \
980 install-data-local install-dvi install-dvi-am install-exec \
981 install-exec-am install-html install-html-am \
982 install-html-local install-info install-info-am \
983 install-libscijit_la_includeHEADERS install-man install-pdf \
984 install-pdf-am install-pkglibLTLIBRARIES install-ps \
985 install-ps-am install-strip installcheck installcheck-am \
986 installdirs maintainer-clean maintainer-clean-generic \
987 mostlyclean mostlyclean-compile mostlyclean-generic \
988 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
989 uninstall-am uninstall-libscijit_la_includeHEADERS \
990 uninstall-pkglibLTLIBRARIES
992 src/cpp/llvm-wrapper-generated.cpp: src/cpp/llvm-wrapper.cpp
993 clang++ -emit-llvm -I$(top_srcdir)/modules/types/includes/ -I$(top_srcdir)/modules/operations/includes/ -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/modules/ast/includes/ -I$(top_srcdir)/modules/localization/includes/ -I$(top_srcdir)/modules/symbol/includes/ -I$(top_srcdir)/modules/dynamic_link/includes/ $(EIGEN_CPPFLAGS) -c src/cpp/llvm-wrapper.cpp -o - | llc-3.3 -march=cpp -cppgen=contents -o src/cpp/llvm-wrapper-generated.cpp || exit 1
995 # This target enables tests for Scilab
996 check-local: $(top_builddir)/scilab-bin test
997 if test -d $(mydatadir)/tests; then \
998 @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
1001 if test -f build.xml; then \
1002 $(ANT) checkstyle; \
1004 if test -x "$(SPLINT)"; then \
1005 $(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); \
1007 @NEED_JAVA_TRUE@java:
1008 # Some configurations needs to export JAVA_HOME in the current env
1009 @NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
1010 @NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1011 @NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
1012 @NEED_JAVA_TRUE@ $(ANT); \
1015 @NEED_JAVA_TRUE@clean-java:
1016 # Some configurations needs to export JAVA_HOME in the current env
1017 @NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
1018 @NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1019 @NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
1020 @NEED_JAVA_TRUE@ $(ANT) clean; \
1021 @NEED_JAVA_TRUE@ fi;
1023 # If the user request for the SWIG generation of the wrappers Java => C/C++
1024 # We call the target swig-build on the variable SWIG_WRAPPERS
1026 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
1027 @SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
1028 @SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
1029 @SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \
1030 @SWIG_TRUE@ for file in $(SWIG_WRAPPERS) ; do \
1031 @SWIG_TRUE@ echo "Swig process of $$file ..."; \
1032 @SWIG_TRUE@ $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \
1036 # If the user request for the SWIG generation of the wrappers Java => C/C++
1037 # We call the target swig-build on the variable SWIG_WRAPPERS
1039 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
1040 @GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
1041 @GIWS_TRUE@ if test -n "$(GIWS_WRAPPERS)"; then \
1042 @GIWS_TRUE@ for file in $(GIWS_WRAPPERS) ; do \
1043 @GIWS_TRUE@ echo "GIWS process of $$file ..."; \
1044 @GIWS_TRUE@ $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
1048 @GIWS_TRUE@giws-exception:
1049 @GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
1050 @GIWS_TRUE@ echo "GIWS: Generation of exception class ..."; \
1051 @GIWS_TRUE@ $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR
1054 -@( if test ! -x $(top_builddir)/scilab-bin; then \
1055 echo "Error : Cannot build $< : Scilab has not been built"; \
1057 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
1060 # Removes the macros
1062 # Removes macros (*.bin generated from .sci)
1063 @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1064 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
1065 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
1069 # More tests could be added here
1070 @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1071 if test -f build.xml -a $$USEANT -eq 1; then \
1075 all-local: $(TARGETS_ALL)
1078 -@( if test ! -x $(top_builddir)/scilab-bin; then \
1079 echo "Error : Cannot build $< : Scilab has not been build"; \
1081 echo "Creating $@"; \
1082 $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
1087 install-data-local-local:
1088 # Mainly for javasci
1089 @if test -d $(srcdir)/javadoc; then \
1090 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
1092 # If the user wants the help sources to be installed
1093 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
1094 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
1095 @INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/$$lang; then \
1096 @INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
1097 @INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
1098 @INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
1099 @INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
1100 @INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
1101 @INSTALL_HELP_XML_TRUE@ done ; \
1102 @INSTALL_HELP_XML_TRUE@ fi; \
1103 @INSTALL_HELP_XML_TRUE@ fi; \
1104 @INSTALL_HELP_XML_TRUE@ done; \
1105 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
1106 @INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/mml/; then \
1107 @INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
1108 @INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
1109 @INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
1110 @INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
1111 @INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
1112 @INSTALL_HELP_XML_TRUE@ done ; \
1113 @INSTALL_HELP_XML_TRUE@ fi; \
1114 @INSTALL_HELP_XML_TRUE@ fi
1117 @echo "-------- Install tests (if any) --------"; \
1118 for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
1119 if test -d $(srcdir)/$$dir/; then \
1120 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1121 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1122 if test -d "$(srcdir)/$$dir/$$file"; then \
1123 echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
1124 $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
1126 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1127 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1132 # Install the help chapter
1133 @echo "-------- Install the help chapter (if any) --------"; \
1134 for lang in $(HELP_CHAPTERLANG); do \
1135 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
1136 if test -f $$HELPFILE; then \
1137 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1138 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1139 echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1140 $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1143 # Install the demos & examples
1144 @echo "-------- Install demos & examples (if any) --------"; \
1145 for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
1146 if test -d $(srcdir)/$$dir/; then \
1147 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
1148 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1149 if test -d "$(srcdir)/$$dir/$$file"; then \
1150 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
1151 $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
1153 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1154 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1159 # Install the macros
1160 @echo "-------- Install macros (if any) --------"; \
1161 for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1162 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1163 if test -d $(srcdir)/$$dir/; then \
1164 FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
1165 if test -n "$(MACROSSPECIALEXT)"; then \
1167 for specialExt in $(MACROSSPECIALEXT); do \
1168 specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
1170 FILELIST="$$FILELIST $$specialExtDir"; \
1172 for file in `ls -1 $$FILELIST 2>/dev/null`; do \
1173 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
1174 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
1178 # Install java files (.jar)
1179 @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
1180 echo "-------- Install jar files --------"; \
1181 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
1182 for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
1183 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
1184 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
1188 ########### CLEAN ###################
1189 # Clean help (generated automatically by Scilab)
1190 # It used to clean the macro (clean-macros) but this was causing
1191 # make clean && make to fail Scilab startup
1192 @NEED_JAVA_TRUE@clean-local: clean-java
1193 @NEED_JAVA_FALSE@clean-local:
1196 rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
1198 .PHONY: macros java swig giws
1200 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1201 # Otherwise a system limit (for SysV at least) may be exceeded.