Fails the build when the command fails
[scilab.git] / scilab / modules / jit / Makefile.in
1 # Makefile.in generated by automake 1.14 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
5
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.
9
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
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
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>
20 #
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
26 #
27
28 ##########
29 ### Makefile included stuff
30 ### Target, variable, suffixes which are supposed to be useful in every makefile.am
31 ##########
32
33
34 VPATH = @srcdir@
35 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
36 am__make_running_with_option = \
37   case $${target_option-} in \
38       ?) ;; \
39       *) echo "am__make_running_with_option: internal error: invalid" \
40               "target option '$${target_option-}' specified" >&2; \
41          exit 1;; \
42   esac; \
43   has_opt=no; \
44   sane_makeflags=$$MAKEFLAGS; \
45   if $(am__is_gnu_make); then \
46     sane_makeflags=$$MFLAGS; \
47   else \
48     case $$MAKEFLAGS in \
49       *\\[\ \   ]*) \
50         bs=\\; \
51         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
52           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
53     esac; \
54   fi; \
55   skip_next=no; \
56   strip_trailopt () \
57   { \
58     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
59   }; \
60   for flg in $$sane_makeflags; do \
61     test $$skip_next = yes && { skip_next=no; continue; }; \
62     case $$flg in \
63       *=*|--*) 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;; \
72     esac; \
73     case $$flg in \
74       *$$target_option*) has_opt=yes; break;; \
75     esac; \
76   done; \
77   test $$has_opt = yes
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)
90 NORMAL_INSTALL = :
91 PRE_INSTALL = :
92 POST_INSTALL = :
93 NORMAL_UNINSTALL = :
94 PRE_UNINSTALL = :
95 POST_UNINSTALL = :
96 build_triplet = @build@
97 host_triplet = @host@
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
102 subdir = modules/jit
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/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \
117         $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \
118         $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \
119         $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \
120         $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/m4/vmkit.m4 \
121         $(top_srcdir)/configure.ac
122 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
123         $(ACLOCAL_M4)
124 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
125 CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
126 CONFIG_CLEAN_FILES =
127 CONFIG_CLEAN_VPATH_FILES =
128 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
129 am__vpath_adj = case $$p in \
130     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
131     *) f=$$p;; \
132   esac;
133 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
134 am__install_max = 40
135 am__nobase_strip_setup = \
136   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
137 am__nobase_strip = \
138   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
139 am__nobase_list = $(am__nobase_strip_setup); \
140   for p in $$list; do echo "$$p $$p"; done | \
141   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
142   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
143     if (++n[$$2] == $(am__install_max)) \
144       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
145     END { for (dir in files) print dir, files[dir] }'
146 am__base_list = \
147   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
148   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
149 am__uninstall_files_from_dir = { \
150   test -z "$$files" \
151     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
152     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
153          $(am__cd) "$$dir" && rm -f $$files; }; \
154   }
155 am__installdirs = "$(DESTDIR)$(pkglibdir)" \
156         "$(DESTDIR)$(libscijit_la_includedir)"
157 LTLIBRARIES = $(pkglib_LTLIBRARIES)
158 libscijit_la_LIBADD =
159 am__objects_1 = libscijit_la-jitter.lo
160 am__objects_2 = libscijit_la-jit_gw.lo libscijit_la-sci_enableJIT.lo \
161         libscijit_la-sci_disableJIT.lo libscijit_la-sci_isJIT.lo
162 am_libscijit_la_OBJECTS = $(am__objects_1) $(am__objects_2)
163 libscijit_la_OBJECTS = $(am_libscijit_la_OBJECTS)
164 AM_V_lt = $(am__v_lt_@AM_V@)
165 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
166 am__v_lt_0 = --silent
167 am__v_lt_1 = 
168 AM_V_P = $(am__v_P_@AM_V@)
169 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
170 am__v_P_0 = false
171 am__v_P_1 = :
172 AM_V_GEN = $(am__v_GEN_@AM_V@)
173 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
174 am__v_GEN_0 = @echo "  GEN     " $@;
175 am__v_GEN_1 = 
176 AM_V_at = $(am__v_at_@AM_V@)
177 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
178 am__v_at_0 = @
179 am__v_at_1 = 
180 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
181 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
182 am__depfiles_maybe = depfiles
183 am__mv = mv -f
184 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
185         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
186 LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
187         $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
188         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
189         $(AM_CXXFLAGS) $(CXXFLAGS)
190 AM_V_CXX = $(am__v_CXX_@AM_V@)
191 am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
192 am__v_CXX_0 = @echo "  CXX     " $@;
193 am__v_CXX_1 = 
194 CXXLD = $(CXX)
195 CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
196         $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
197         $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
198 AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
199 am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
200 am__v_CXXLD_0 = @echo "  CXXLD   " $@;
201 am__v_CXXLD_1 = 
202 SOURCES = $(libscijit_la_SOURCES)
203 DIST_SOURCES = $(libscijit_la_SOURCES)
204 am__can_run_installinfo = \
205   case $$AM_UPDATE_INFO_DIR in \
206     n|no|NO) false;; \
207     *) (install-info --version) >/dev/null 2>&1;; \
208   esac
209 HEADERS = $(libscijit_la_include_HEADERS)
210 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
211 # Read a list of newline-separated strings from the standard input,
212 # and print each of them once, without duplicates.  Input order is
213 # *not* preserved.
214 am__uniquify_input = $(AWK) '\
215   BEGIN { nonempty = 0; } \
216   { items[$$0] = 1; nonempty = 1; } \
217   END { if (nonempty) { for (i in items) print i; }; } \
218 '
219 # Make sure the list of sources is unique.  This is necessary because,
220 # e.g., the same source file might be shared among _SOURCES variables
221 # for different programs/libraries.
222 am__define_uniq_tagged_files = \
223   list='$(am__tagged_files)'; \
224   unique=`for i in $$list; do \
225     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
226   done | $(am__uniquify_input)`
227 ETAGS = etags
228 CTAGS = ctags
229 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
230 ACLOCAL = @ACLOCAL@
231 ALL_LINGUAS = @ALL_LINGUAS@
232 ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
233 AMTAR = @AMTAR@
234 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
235 ANT = @ANT@
236 ANTLR = @ANTLR@
237 AR = @AR@
238 ARPACK_LIBS = @ARPACK_LIBS@
239 ASM3 = @ASM3@
240 AUTOCONF = @AUTOCONF@
241 AUTOHEADER = @AUTOHEADER@
242 AUTOMAKE = @AUTOMAKE@
243 AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
244 AWK = @AWK@
245 BATIK = @BATIK@
246 BLAS_LIBS = @BLAS_LIBS@
247 CC = @CC@
248 CCACHE = @CCACHE@
249 CCDEPMODE = @CCDEPMODE@
250 CFLAGS = @CFLAGS@
251 CHECKSTYLE = @CHECKSTYLE@
252 COBERTURA = @COBERTURA@
253 COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
254 COMMONS_IO = @COMMONS_IO@
255 COMMONS_LOGGING = @COMMONS_LOGGING@
256 CPP = @CPP@
257 CPPFLAGS = @CPPFLAGS@
258 CURL_CFLAGS = @CURL_CFLAGS@
259 CURL_CONFIG = @CURL_CONFIG@
260 CURL_LIBS = @CURL_LIBS@
261 CURL_VERSION = @CURL_VERSION@
262 CXX = @CXX@
263 CXXCPP = @CXXCPP@
264 CXXDEPMODE = @CXXDEPMODE@
265 CXXFLAGS = @CXXFLAGS@
266 CYGPATH_W = @CYGPATH_W@
267 DEFS = @DEFS@
268 DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
269 DEPDIR = @DEPDIR@
270 DOCBOOK_ROOT = @DOCBOOK_ROOT@
271 DOXYGEN_BIN = @DOXYGEN_BIN@
272 DSYMUTIL = @DSYMUTIL@
273 DUMPBIN = @DUMPBIN@
274 ECHO_C = @ECHO_C@
275 ECHO_N = @ECHO_N@
276 ECHO_T = @ECHO_T@
277 EGREP = @EGREP@
278 EIGEN_CPPFLAGS = @EIGEN_CPPFLAGS@
279 EXEEXT = @EXEEXT@
280 F77 = @F77@
281 FFLAGS = @FFLAGS@
282 FFTW3_LIB = @FFTW3_LIB@
283 FFTW_ENABLE = @FFTW_ENABLE@
284 FGREP = @FGREP@
285 FLEXDOCK = @FLEXDOCK@
286 FLIBS = @FLIBS@
287 FOP = @FOP@
288 GENHTML = @GENHTML@
289 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
290 GIWS_BIN = @GIWS_BIN@
291 GLUEGEN2_RT = @GLUEGEN2_RT@
292 GMSGFMT = @GMSGFMT@
293 GMSGFMT_015 = @GMSGFMT_015@
294 GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
295 GREP = @GREP@
296 GUI_ENABLE = @GUI_ENABLE@
297 HDF5_CFLAGS = @HDF5_CFLAGS@
298 HDF5_LIBS = @HDF5_LIBS@
299 HELP_ENABLE = @HELP_ENABLE@
300 INSTALL = @INSTALL@
301 INSTALL_DATA = @INSTALL_DATA@
302 INSTALL_PROGRAM = @INSTALL_PROGRAM@
303 INSTALL_SCRIPT = @INSTALL_SCRIPT@
304 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
305 INTLLIBS = @INTLLIBS@
306 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
307 JAR = @JAR@
308 JAVA = @JAVA@
309 JAVAC = @JAVAC@
310 JAVAC_DEBUG = @JAVAC_DEBUG@
311 JAVADOC = @JAVADOC@
312 JAVAH = @JAVAH@
313 JAVASCI_ENABLE = @JAVASCI_ENABLE@
314 JAVA_ENABLE = @JAVA_ENABLE@
315 JAVA_G = @JAVA_G@
316 JAVA_HOME = @JAVA_HOME@
317 JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
318 JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
319 JDB = @JDB@
320 JEUCLID_CORE = @JEUCLID_CORE@
321 JGRAPHX = @JGRAPHX@
322 JHALL = @JHALL@
323 JLATEXMATH = @JLATEXMATH@
324 JLATEXMATH_FOP = @JLATEXMATH_FOP@
325 JOGL2 = @JOGL2@
326 JROSETTA_API = @JROSETTA_API@
327 JROSETTA_ENGINE = @JROSETTA_ENGINE@
328 JUNIT4 = @JUNIT4@
329 LAPACK_LIBS = @LAPACK_LIBS@
330 LCOV = @LCOV@
331 LD = @LD@
332 LDFLAGS = @LDFLAGS@
333 LEX = @LEX@
334 LEXLIB = @LEXLIB@
335 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
336 LIBICONV = @LIBICONV@
337 LIBINTL = @LIBINTL@
338 LIBM = @LIBM@
339 LIBOBJS = @LIBOBJS@
340 LIBS = @LIBS@
341 LIBTOOL = @LIBTOOL@
342 LIPO = @LIPO@
343 LLVM_INCLUDE_DIR = @LLVM_INCLUDE_DIR@
344 LLVM_LIB_DIR = @LLVM_LIB_DIR@
345 LN_S = @LN_S@
346 LOGGING_LEVEL = @LOGGING_LEVEL@
347 LOOKS = @LOOKS@
348 LTLIBICONV = @LTLIBICONV@
349 LTLIBINTL = @LTLIBINTL@
350 LTLIBOBJS = @LTLIBOBJS@
351 MAINT = @MAINT@
352 MAKEINFO = @MAKEINFO@
353 MATIO_CFLAGS = @MATIO_CFLAGS@
354 MATIO_ENABLE = @MATIO_ENABLE@
355 MATIO_LIBS = @MATIO_LIBS@
356 MKDIR_P = @MKDIR_P@
357 MPI_ENABLE = @MPI_ENABLE@
358 MSGCAT = @MSGCAT@
359 MSGFMT = @MSGFMT@
360 MSGFMT_015 = @MSGFMT_015@
361 MSGMERGE = @MSGMERGE@
362 NM = @NM@
363 NMEDIT = @NMEDIT@
364 OBJDUMP = @OBJDUMP@
365 OBJEXT = @OBJEXT@
366 OCAMLC = @OCAMLC@
367 OCAMLDEP = @OCAMLDEP@
368 OCAMLLEX = @OCAMLLEX@
369 OCAMLOPT = @OCAMLOPT@
370 OCAMLYACC = @OCAMLYACC@
371 OPENMPI_CC = @OPENMPI_CC@
372 OPENMPI_CFLAGS = @OPENMPI_CFLAGS@
373 OPENMPI_CXX = @OPENMPI_CXX@
374 OPENMPI_CXXFLAGS = @OPENMPI_CXXFLAGS@
375 OPENMPI_LIBS = @OPENMPI_LIBS@
376 OPENMP_CFLAGS = @OPENMP_CFLAGS@
377 OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
378 OPENMP_ENABLE = @OPENMP_ENABLE@
379 OPENMP_LIBS = @OPENMP_LIBS@
380 OTOOL = @OTOOL@
381 OTOOL64 = @OTOOL64@
382 PACKAGE = @PACKAGE@
383 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
384 PACKAGE_NAME = @PACKAGE_NAME@
385 PACKAGE_STRING = @PACKAGE_STRING@
386 PACKAGE_TARNAME = @PACKAGE_TARNAME@
387 PACKAGE_URL = @PACKAGE_URL@
388 PACKAGE_VERSION = @PACKAGE_VERSION@
389 PATH_SEPARATOR = @PATH_SEPARATOR@
390 PCRE_CFLAGS = @PCRE_CFLAGS@
391 PCRE_CONFIG = @PCRE_CONFIG@
392 PCRE_LIBS = @PCRE_LIBS@
393 PCRE_VERSION = @PCRE_VERSION@
394 PKG_CONFIG = @PKG_CONFIG@
395 POSUB = @POSUB@
396 POW_LIB = @POW_LIB@
397 PYTHON = @PYTHON@
398 RANLIB = @RANLIB@
399 RELOCATABLE = @RELOCATABLE@
400 RT_LIB = @RT_LIB@
401 SAXON = @SAXON@
402 SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
403 SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
404 SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
405 SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
406 SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
407 SCIRENDERER = @SCIRENDERER@
408 SCIRENDERER_CP = @SCIRENDERER_CP@
409 SCI_CFLAGS = @SCI_CFLAGS@
410 SCI_CXXFLAGS = @SCI_CXXFLAGS@
411 SCI_FFLAGS = @SCI_FFLAGS@
412 SCI_LDFLAGS = @SCI_LDFLAGS@
413 SED = @SED@
414 SET_MAKE = @SET_MAKE@
415 SET_RELOCATABLE = @SET_RELOCATABLE@
416 SHELL = @SHELL@
417 SKINLF = @SKINLF@
418 SPLINT = @SPLINT@
419 STRIP = @STRIP@
420 SWIG_BIN = @SWIG_BIN@
421 SWIG_JAVA = @SWIG_JAVA@
422 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
423 SWIG_SCILAB = @SWIG_SCILAB@
424 TCLTK_LIBS = @TCLTK_LIBS@
425 TCL_INC_PATH = @TCL_INC_PATH@
426 TK_INC_PATH = @TK_INC_PATH@
427 UMFPACK_ENABLE = @UMFPACK_ENABLE@
428 UMFPACK_LIB = @UMFPACK_LIB@
429 USE_NLS = @USE_NLS@
430 VERSION = @VERSION@
431 VMKIT_BIN_DIR = @VMKIT_BIN_DIR@
432 VMKIT_CPPFLAGS = @VMKIT_CPPFLAGS@
433 VMKIT_INCLUDE_DIR = @VMKIT_INCLUDE_DIR@
434 VMKIT_LDADD = @VMKIT_LDADD@
435 VMKIT_LDFLAGS = @VMKIT_LDFLAGS@
436 WITH_OCAML = @WITH_OCAML@
437 WITH_TKSCI = @WITH_TKSCI@
438 XCOS_ENABLE = @XCOS_ENABLE@
439 XGETTEXT = @XGETTEXT@
440 XGETTEXT_015 = @XGETTEXT_015@
441 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
442 XMKMF = @XMKMF@
443 XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
444 XML_APIS_EXT = @XML_APIS_EXT@
445 XML_CONFIG = @XML_CONFIG@
446 XML_FLAGS = @XML_FLAGS@
447 XML_LIBS = @XML_LIBS@
448 XML_VERSION = @XML_VERSION@
449 X_CFLAGS = @X_CFLAGS@
450 X_EXTRA_LIBS = @X_EXTRA_LIBS@
451 X_LIBS = @X_LIBS@
452 X_PRE_LIBS = @X_PRE_LIBS@
453 YACC = @YACC@
454 YFLAGS = @YFLAGS@
455 abs_builddir = @abs_builddir@
456 abs_srcdir = @abs_srcdir@
457 abs_top_builddir = @abs_top_builddir@
458 abs_top_srcdir = @abs_top_srcdir@
459 ac_ct_AR = @ac_ct_AR@
460 ac_ct_CC = @ac_ct_CC@
461 ac_ct_CXX = @ac_ct_CXX@
462 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
463 ac_ct_F77 = @ac_ct_F77@
464 am__include = @am__include@
465 am__leading_dot = @am__leading_dot@
466 am__quote = @am__quote@
467 am__tar = @am__tar@
468 am__untar = @am__untar@
469 bindir = @bindir@
470 build = @build@
471 build_alias = @build_alias@
472 build_cpu = @build_cpu@
473 build_os = @build_os@
474 build_vendor = @build_vendor@
475 builddir = @builddir@
476 cxx_present = @cxx_present@
477 datadir = @datadir@
478 datarootdir = @datarootdir@
479 docdir = @docdir@
480 dvidir = @dvidir@
481 exec_prefix = @exec_prefix@
482 host = @host@
483 host_alias = @host_alias@
484 host_cpu = @host_cpu@
485 host_os = @host_os@
486 host_vendor = @host_vendor@
487 htmldir = @htmldir@
488 includedir = @includedir@
489 infodir = @infodir@
490 install_sh = @install_sh@
491 libdir = @libdir@
492 libexecdir = @libexecdir@
493 localedir = @localedir@
494 localstatedir = @localstatedir@
495 mandir = @mandir@
496 mkdir_p = @mkdir_p@
497 oldincludedir = @oldincludedir@
498 pdfdir = @pdfdir@
499 prefix = @prefix@
500 program_transform_name = @program_transform_name@
501 psdir = @psdir@
502 sbindir = @sbindir@
503 sharedstatedir = @sharedstatedir@
504 srcdir = @srcdir@
505 sysconfdir = @sysconfdir@
506 target_alias = @target_alias@
507 top_build_prefix = @top_build_prefix@
508 top_builddir = @top_builddir@
509 top_srcdir = @top_srcdir@
510 yacc_present = @yacc_present@
511 pkglib_LTLIBRARIES = libscijit.la
512 JIT_CPP_SOURCES = \
513         src/cpp/jitter.cpp
514
515 GATEWAY_CPP_SOURCES = \
516         sci_gateway/cpp/jit_gw.cpp \
517     sci_gateway/cpp/sci_enableJIT.cpp \
518     sci_gateway/cpp/sci_disableJIT.cpp \
519     sci_gateway/cpp/sci_isJIT.cpp
520
521 libscijit_la_CPPFLAGS = \
522         -Iincludes \
523         -Isrc/cpp \
524     -I$(top_srcdir)/modules/types/includes \
525     -I$(top_srcdir)/modules/localization/includes \
526     -I$(top_srcdir)/modules/symbol/includes \
527     -I$(top_srcdir)/modules/operations/includes \
528     -I$(top_srcdir)/modules/system_env/includes \
529     -I$(top_srcdir)/modules/threads/includes \
530     -I$(top_srcdir)/modules/api_scilab/includes \
531     -I$(top_srcdir)/modules/dynamic_link/includes \
532     -I$(top_srcdir)/modules/string/includes \
533     -I$(top_srcdir)/modules/console/includes \
534     -I$(top_srcdir)/modules/ast/includes \
535     -I$(top_srcdir)/modules/output_stream/includes \
536     -I$(top_srcdir)/modules/functions_manager/includes \
537     $(EIGEN_CPPFLAGS) \
538         $(VMKIT_CPPFLAGS) \
539         $(AM_CPPFLAGS)
540
541 libscijit_la_SOURCES = $(JIT_CPP_SOURCES) $(GATEWAY_CPP_SOURCES)
542 libscijit_la_includedir = $(pkgincludedir)
543 libscijit_la_include_HEADERS = 
544
545 ####################
546 ####################
547 check_INCLUDES = \
548     -I$(top_srcdir)/modules/symbol/includes \
549         -Iincludes/ \
550         -Isrc/cpp
551
552 check_LDADD = \
553     $(top_builddir)/modules/symbol/libsciSymbol.la \
554         $(top_builddir)/modules/jit/libscijit.la \
555         $(top_builddir)/modules/types/libsciTypes.la
556
557 testConstExp_SOURCES = src/cpp/testConstExp.cpp
558 testConstExp_CXXFLAGS = $(check_INCLUDES)
559 testConstExp_LDADD = $(check_LDADD)
560 testVarExp_SOURCES = src/cpp/testVarExp.cpp
561 testVarExp_CXXFLAGS = $(check_INCLUDES)
562 testVarExp_LDADD = $(check_LDADD)
563 testControlExp_SOURCES = src/cpp/testControlExp.cpp
564 testControlExp_CXXFLAGS = $(check_INCLUDES)
565 testControlExp_LDADD = $(check_LDADD)
566
567 # This target transforms a basic code to llvm + clang code for the JIT
568 BUILT_SOURCES = src/cpp/llvm-wrapper-generated.cpp
569
570 # Where all the Scilab stuff is installed (macros, help, ...)
571 mydatadir = $(pkgdatadir)/modules/$(modulename)
572
573 # Set AM_* SCI detected settings
574 AM_CPPFLAGS = $(SCI_CPPFLAGS)
575 AM_CFLAGS = $(SCI_CFLAGS)
576 AM_CXXFLAGS = $(SCI_CXXFLAGS)
577 # append includes to AM_FFLAGS to manage fortran includes
578 AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
579
580 # Tag shared libraries with the Scilab version
581 AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
582
583 # splint options
584 SPLINT_OPTIONS = -weak -booltype BOOL
585
586 ########################### JAVA ######################################
587 #### We are delegating java compilation to ant... Thanks to that
588 #### the procedure will be the same with Microsoft Windows (C)
589 #### and Linux/Unix
590 #######################################################################
591 TARGETS_ALL = $(am__append_1)
592
593 ################ MACROS ######################
594 # Rule to build a macro
595 # NOT USED  AT THE MOMENT
596 SUFFIXES = .sci 
597
598 ########### INSTALL DOCUMENTATION ###################
599
600 # Install documentation files into the right target
601 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
602 # automake needs the html files to be present which is not the case when
603 # we are building Scilab
604
605 # Where it should be installed
606 pkgdocdir = $(mydatadir)
607
608 # What is the mask of the help source
609 DOCMASKXML = *.xml
610
611 # What is the mask of the MathML sources
612 DOCMASKMML = *.mml
613
614 ########### INSTALL DATA ###################
615 # Install macros, help & demos
616 # Where it should be installed
617 pkgmacrosdir = $(mydatadir)
618 # Which directory we process
619 MACRODIRS = macros/
620 # Mask of the Scilab sources macros
621 MACROMASK = *.sci
622 # Mask of the Scilab executable sources macros
623 MACROBUILDMASK = *.sce
624 # Mask of the Scilab compiled macros
625 MACROBINMASK = *.bin
626 # List of the standard directory for tests
627 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
628 # Where the demos should be installed
629 pkgdemosdir = $(mydatadir)
630 # List of the standard directory for demos
631 DEMOS_DIR = demos
632 # List of the standard directory for examples
633 EXAMPLES_DIR = examples
634 # Where to export JAVA archives (.jar)
635 JARDIR = jar/
636 # JAR files mask
637 JARMASK = *.jar
638 # Chapter file 
639 HELP_CHAPTERDIR = help/
640 HELP_CHAPTERFILE = addchapter.sce
641 HELP_CHAPTERLANG = en_US fr_FR pt_BR
642 all: $(BUILT_SOURCES)
643         $(MAKE) $(AM_MAKEFLAGS) all-am
644
645 .SUFFIXES:
646 .SUFFIXES: .sci .bin .cpp .lo .o .obj
647 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
648         @for dep in $?; do \
649           case '$(am__configure_deps)' in \
650             *$$dep*) \
651               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
652                 && { if test -f $@; then exit 0; else break; fi; }; \
653               exit 1;; \
654           esac; \
655         done; \
656         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/jit/Makefile'; \
657         $(am__cd) $(top_srcdir) && \
658           $(AUTOMAKE) --foreign modules/jit/Makefile
659 .PRECIOUS: Makefile
660 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
661         @case '$?' in \
662           *config.status*) \
663             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
664           *) \
665             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
666             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
667         esac;
668 $(top_srcdir)/Makefile.incl.am:
669
670 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
671         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
672
673 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
674         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
675 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
676         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
677 $(am__aclocal_m4_deps):
678
679 install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
680         @$(NORMAL_INSTALL)
681         @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
682         list2=; for p in $$list; do \
683           if test -f $$p; then \
684             list2="$$list2 $$p"; \
685           else :; fi; \
686         done; \
687         test -z "$$list2" || { \
688           echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
689           $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
690           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
691           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
692         }
693
694 uninstall-pkglibLTLIBRARIES:
695         @$(NORMAL_UNINSTALL)
696         @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
697         for p in $$list; do \
698           $(am__strip_dir) \
699           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
700           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
701         done
702
703 clean-pkglibLTLIBRARIES:
704         -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
705         @list='$(pkglib_LTLIBRARIES)'; \
706         locs=`for p in $$list; do echo $$p; done | \
707               sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
708               sort -u`; \
709         test -z "$$locs" || { \
710           echo rm -f $${locs}; \
711           rm -f $${locs}; \
712         }
713
714 libscijit.la: $(libscijit_la_OBJECTS) $(libscijit_la_DEPENDENCIES) $(EXTRA_libscijit_la_DEPENDENCIES) 
715         $(AM_V_CXXLD)$(CXXLINK) -rpath $(pkglibdir) $(libscijit_la_OBJECTS) $(libscijit_la_LIBADD) $(LIBS)
716
717 mostlyclean-compile:
718         -rm -f *.$(OBJEXT)
719
720 distclean-compile:
721         -rm -f *.tab.c
722
723 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscijit_la-jit_gw.Plo@am__quote@
724 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscijit_la-jitter.Plo@am__quote@
725 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscijit_la-sci_disableJIT.Plo@am__quote@
726 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscijit_la-sci_enableJIT.Plo@am__quote@
727 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscijit_la-sci_isJIT.Plo@am__quote@
728
729 .cpp.o:
730 @am__fastdepCXX_TRUE@   $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
731 @am__fastdepCXX_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
732 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
733 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
734 @am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
735
736 .cpp.obj:
737 @am__fastdepCXX_TRUE@   $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
738 @am__fastdepCXX_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
739 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
740 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
741 @am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
742
743 .cpp.lo:
744 @am__fastdepCXX_TRUE@   $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
745 @am__fastdepCXX_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
746 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
747 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
748 @am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
749
750 libscijit_la-jitter.lo: src/cpp/jitter.cpp
751 @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
752 @am__fastdepCXX_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/libscijit_la-jitter.Tpo $(DEPDIR)/libscijit_la-jitter.Plo
753 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='src/cpp/jitter.cpp' object='libscijit_la-jitter.lo' libtool=yes @AMDEPBACKSLASH@
754 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
755 @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
756
757 libscijit_la-jit_gw.lo: sci_gateway/cpp/jit_gw.cpp
758 @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-jit_gw.lo -MD -MP -MF $(DEPDIR)/libscijit_la-jit_gw.Tpo -c -o libscijit_la-jit_gw.lo `test -f 'sci_gateway/cpp/jit_gw.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/jit_gw.cpp
759 @am__fastdepCXX_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/libscijit_la-jit_gw.Tpo $(DEPDIR)/libscijit_la-jit_gw.Plo
760 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='sci_gateway/cpp/jit_gw.cpp' object='libscijit_la-jit_gw.lo' libtool=yes @AMDEPBACKSLASH@
761 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
762 @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-jit_gw.lo `test -f 'sci_gateway/cpp/jit_gw.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/jit_gw.cpp
763
764 libscijit_la-sci_enableJIT.lo: sci_gateway/cpp/sci_enableJIT.cpp
765 @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_enableJIT.lo -MD -MP -MF $(DEPDIR)/libscijit_la-sci_enableJIT.Tpo -c -o libscijit_la-sci_enableJIT.lo `test -f 'sci_gateway/cpp/sci_enableJIT.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_enableJIT.cpp
766 @am__fastdepCXX_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/libscijit_la-sci_enableJIT.Tpo $(DEPDIR)/libscijit_la-sci_enableJIT.Plo
767 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='sci_gateway/cpp/sci_enableJIT.cpp' object='libscijit_la-sci_enableJIT.lo' libtool=yes @AMDEPBACKSLASH@
768 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
769 @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_enableJIT.lo `test -f 'sci_gateway/cpp/sci_enableJIT.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_enableJIT.cpp
770
771 libscijit_la-sci_disableJIT.lo: sci_gateway/cpp/sci_disableJIT.cpp
772 @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_disableJIT.lo -MD -MP -MF $(DEPDIR)/libscijit_la-sci_disableJIT.Tpo -c -o libscijit_la-sci_disableJIT.lo `test -f 'sci_gateway/cpp/sci_disableJIT.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_disableJIT.cpp
773 @am__fastdepCXX_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/libscijit_la-sci_disableJIT.Tpo $(DEPDIR)/libscijit_la-sci_disableJIT.Plo
774 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='sci_gateway/cpp/sci_disableJIT.cpp' object='libscijit_la-sci_disableJIT.lo' libtool=yes @AMDEPBACKSLASH@
775 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
776 @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_disableJIT.lo `test -f 'sci_gateway/cpp/sci_disableJIT.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_disableJIT.cpp
777
778 libscijit_la-sci_isJIT.lo: sci_gateway/cpp/sci_isJIT.cpp
779 @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_isJIT.lo -MD -MP -MF $(DEPDIR)/libscijit_la-sci_isJIT.Tpo -c -o libscijit_la-sci_isJIT.lo `test -f 'sci_gateway/cpp/sci_isJIT.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_isJIT.cpp
780 @am__fastdepCXX_TRUE@   $(AM_V_at)$(am__mv) $(DEPDIR)/libscijit_la-sci_isJIT.Tpo $(DEPDIR)/libscijit_la-sci_isJIT.Plo
781 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='sci_gateway/cpp/sci_isJIT.cpp' object='libscijit_la-sci_isJIT.lo' libtool=yes @AMDEPBACKSLASH@
782 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
783 @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_isJIT.lo `test -f 'sci_gateway/cpp/sci_isJIT.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_isJIT.cpp
784
785 mostlyclean-libtool:
786         -rm -f *.lo
787
788 clean-libtool:
789         -rm -rf .libs _libs
790 install-libscijit_la_includeHEADERS: $(libscijit_la_include_HEADERS)
791         @$(NORMAL_INSTALL)
792         @list='$(libscijit_la_include_HEADERS)'; test -n "$(libscijit_la_includedir)" || list=; \
793         if test -n "$$list"; then \
794           echo " $(MKDIR_P) '$(DESTDIR)$(libscijit_la_includedir)'"; \
795           $(MKDIR_P) "$(DESTDIR)$(libscijit_la_includedir)" || exit 1; \
796         fi; \
797         for p in $$list; do \
798           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
799           echo "$$d$$p"; \
800         done | $(am__base_list) | \
801         while read files; do \
802           echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libscijit_la_includedir)'"; \
803           $(INSTALL_HEADER) $$files "$(DESTDIR)$(libscijit_la_includedir)" || exit $$?; \
804         done
805
806 uninstall-libscijit_la_includeHEADERS:
807         @$(NORMAL_UNINSTALL)
808         @list='$(libscijit_la_include_HEADERS)'; test -n "$(libscijit_la_includedir)" || list=; \
809         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
810         dir='$(DESTDIR)$(libscijit_la_includedir)'; $(am__uninstall_files_from_dir)
811
812 ID: $(am__tagged_files)
813         $(am__define_uniq_tagged_files); mkid -fID $$unique
814 tags: tags-am
815 TAGS: tags
816
817 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
818         set x; \
819         here=`pwd`; \
820         $(am__define_uniq_tagged_files); \
821         shift; \
822         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
823           test -n "$$unique" || unique=$$empty_fix; \
824           if test $$# -gt 0; then \
825             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
826               "$$@" $$unique; \
827           else \
828             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
829               $$unique; \
830           fi; \
831         fi
832 ctags: ctags-am
833
834 CTAGS: ctags
835 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
836         $(am__define_uniq_tagged_files); \
837         test -z "$(CTAGS_ARGS)$$unique" \
838           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
839              $$unique
840
841 GTAGS:
842         here=`$(am__cd) $(top_builddir) && pwd` \
843           && $(am__cd) $(top_srcdir) \
844           && gtags -i $(GTAGS_ARGS) "$$here"
845 cscopelist: cscopelist-am
846
847 cscopelist-am: $(am__tagged_files)
848         list='$(am__tagged_files)'; \
849         case "$(srcdir)" in \
850           [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
851           *) sdir=$(subdir)/$(srcdir) ;; \
852         esac; \
853         for i in $$list; do \
854           if test -f "$$i"; then \
855             echo "$(subdir)/$$i"; \
856           else \
857             echo "$$sdir/$$i"; \
858           fi; \
859         done >> $(top_builddir)/cscope.files
860
861 distclean-tags:
862         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
863
864 distdir: $(DISTFILES)
865         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
866         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
867         list='$(DISTFILES)'; \
868           dist_files=`for file in $$list; do echo $$file; done | \
869           sed -e "s|^$$srcdirstrip/||;t" \
870               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
871         case $$dist_files in \
872           */*) $(MKDIR_P) `echo "$$dist_files" | \
873                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
874                            sort -u` ;; \
875         esac; \
876         for file in $$dist_files; do \
877           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
878           if test -d $$d/$$file; then \
879             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
880             if test -d "$(distdir)/$$file"; then \
881               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
882             fi; \
883             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
884               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
885               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
886             fi; \
887             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
888           else \
889             test -f "$(distdir)/$$file" \
890             || cp -p $$d/$$file "$(distdir)/$$file" \
891             || exit 1; \
892           fi; \
893         done
894 check-am: all-am
895         $(MAKE) $(AM_MAKEFLAGS) check-local
896 check: $(BUILT_SOURCES)
897         $(MAKE) $(AM_MAKEFLAGS) check-am
898 all-am: Makefile $(LTLIBRARIES) $(HEADERS) all-local
899 installdirs:
900         for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscijit_la_includedir)"; do \
901           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
902         done
903 install: $(BUILT_SOURCES)
904         $(MAKE) $(AM_MAKEFLAGS) install-am
905 install-exec: install-exec-am
906 install-data: install-data-am
907 uninstall: uninstall-am
908
909 install-am: all-am
910         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
911
912 installcheck: installcheck-am
913 install-strip:
914         if test -z '$(STRIP)'; then \
915           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
916             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
917               install; \
918         else \
919           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
920             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
921             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
922         fi
923 mostlyclean-generic:
924
925 clean-generic:
926
927 distclean-generic:
928         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
929         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
930
931 maintainer-clean-generic:
932         @echo "This command is intended for maintainers to use"
933         @echo "it deletes files that may require special tools to rebuild."
934         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
935 clean: clean-am
936
937 clean-am: clean-generic clean-libtool clean-local \
938         clean-pkglibLTLIBRARIES mostlyclean-am
939
940 distclean: distclean-am
941         -rm -rf ./$(DEPDIR)
942         -rm -f Makefile
943 distclean-am: clean-am distclean-compile distclean-generic \
944         distclean-local distclean-tags
945
946 dvi: dvi-am
947
948 dvi-am:
949
950 html: html-am
951
952 html-am:
953
954 info: info-am
955
956 info-am:
957
958 install-data-am: install-data-local \
959         install-libscijit_la_includeHEADERS
960
961 install-dvi: install-dvi-am
962
963 install-dvi-am:
964
965 install-exec-am: install-pkglibLTLIBRARIES
966
967 install-html: install-html-am
968
969 install-html-am: install-html-local
970
971 install-info: install-info-am
972
973 install-info-am:
974
975 install-man:
976
977 install-pdf: install-pdf-am
978
979 install-pdf-am:
980
981 install-ps: install-ps-am
982
983 install-ps-am:
984
985 installcheck-am:
986
987 maintainer-clean: maintainer-clean-am
988         -rm -rf ./$(DEPDIR)
989         -rm -f Makefile
990 maintainer-clean-am: distclean-am maintainer-clean-generic
991
992 mostlyclean: mostlyclean-am
993
994 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
995         mostlyclean-libtool
996
997 pdf: pdf-am
998
999 pdf-am:
1000
1001 ps: ps-am
1002
1003 ps-am:
1004
1005 uninstall-am: uninstall-libscijit_la_includeHEADERS \
1006         uninstall-pkglibLTLIBRARIES
1007
1008 .MAKE: all check check-am install install-am install-strip
1009
1010 .PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am \
1011         check-local clean clean-generic clean-libtool clean-local \
1012         clean-pkglibLTLIBRARIES cscopelist-am ctags ctags-am distclean \
1013         distclean-compile distclean-generic distclean-libtool \
1014         distclean-local distclean-tags distdir dvi dvi-am html html-am \
1015         info info-am install install-am install-data install-data-am \
1016         install-data-local install-dvi install-dvi-am install-exec \
1017         install-exec-am install-html install-html-am \
1018         install-html-local install-info install-info-am \
1019         install-libscijit_la_includeHEADERS install-man install-pdf \
1020         install-pdf-am install-pkglibLTLIBRARIES install-ps \
1021         install-ps-am install-strip installcheck installcheck-am \
1022         installdirs maintainer-clean maintainer-clean-generic \
1023         mostlyclean mostlyclean-compile mostlyclean-generic \
1024         mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
1025         uninstall-am uninstall-libscijit_la_includeHEADERS \
1026         uninstall-pkglibLTLIBRARIES
1027
1028 src/cpp/llvm-wrapper-generated.cpp: src/cpp/llvm-wrapper.cpp
1029         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 src/cpp/llvm-wrapper.bc
1030         llc-3.3 -march=cpp -cppgen=contents -o - | perl src/perl/demangle.pl > src/cpp/llvm-wrapper-generated.cpp
1031         rm src/cpp/llvm-wrapper.bc
1032
1033 # This target enables tests for Scilab
1034 check-local: $(top_builddir)/scilab-bin test
1035         if test -d $(mydatadir)/tests; then \
1036           @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
1037         fi
1038 check-code:
1039         if test -f build.xml; then \
1040                 $(ANT) checkstyle; \
1041         fi
1042         if test -x "$(SPLINT)"; then \
1043                 $(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); \
1044         fi
1045 @NEED_JAVA_TRUE@java:
1046 # Some configurations needs to export JAVA_HOME in the current env
1047 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
1048 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1049 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
1050 @NEED_JAVA_TRUE@                $(ANT); \
1051 @NEED_JAVA_TRUE@        fi
1052
1053 @NEED_JAVA_TRUE@clean-java:
1054 # Some configurations needs to export JAVA_HOME in the current env
1055 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
1056 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1057 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
1058 @NEED_JAVA_TRUE@                $(ANT) clean; \
1059 @NEED_JAVA_TRUE@        fi;
1060
1061 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
1062 # We call the target swig-build on the variable SWIG_WRAPPERS
1063
1064 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
1065 @SWIG_TRUE@     @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
1066 @SWIG_TRUE@     SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
1067 @SWIG_TRUE@     if test -n "$(SWIG_WRAPPERS)"; then \
1068 @SWIG_TRUE@             for file in $(SWIG_WRAPPERS) ; do \
1069 @SWIG_TRUE@                     echo "Swig process of $$file (Java) ..."; \
1070 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
1071 @SWIG_TRUE@             done; \
1072 @SWIG_TRUE@     fi
1073
1074 @SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS)
1075 @SWIG_TRUE@     @SWIG_OUTDIR=src/swig/; \
1076 @SWIG_TRUE@     if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
1077 @SWIG_TRUE@             for file in $(SWIG_SCILAB_WRAPPERS) ; do \
1078 @SWIG_TRUE@                     echo "Swig process of $$file (Scilab) ..."; \
1079 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_SCILAB)  -outdir $$SWIG_OUTDIR $$file; \
1080 @SWIG_TRUE@             done; \
1081 @SWIG_TRUE@     fi
1082
1083 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
1084 # We call the target swig-build on the variable SWIG_WRAPPERS
1085
1086 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
1087 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
1088 @GIWS_TRUE@     if test -n "$(GIWS_WRAPPERS)"; then \
1089 @GIWS_TRUE@             for file in $(GIWS_WRAPPERS) ; do \
1090 @GIWS_TRUE@                     echo "GIWS process of $$file ..."; \
1091 @GIWS_TRUE@                     $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
1092 @GIWS_TRUE@             done; \
1093 @GIWS_TRUE@     fi
1094
1095 @GIWS_TRUE@giws-exception:
1096 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
1097 @GIWS_TRUE@     echo "GIWS: Generation of exception class ..."; \
1098 @GIWS_TRUE@     $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR 
1099
1100 macros:
1101         -@( if test ! -x $(top_builddir)/scilab-bin; then \
1102                 echo "Error : Cannot build $< : Scilab has not been built"; \
1103         else \
1104                 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
1105         fi)
1106
1107 # Removes the macros
1108 clean-macros:
1109 # Removes macros (*.bin generated from .sci)
1110         @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1111                 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
1112                 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
1113         done
1114
1115 test:
1116 # More tests could be added here
1117         @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1118         if test -f build.xml -a $$USEANT -eq 1; then \
1119                 $(ANT) test; \
1120         fi
1121
1122 all-local: $(TARGETS_ALL)
1123
1124 .sci.bin:
1125         -@( if test ! -x $(top_builddir)/scilab-bin; then \
1126         echo "Error : Cannot build $< : Scilab has not been build"; \
1127         else \
1128         echo "Creating $@"; \
1129         $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
1130         fi )
1131
1132 install-html-local:
1133
1134 install-data-local-local:
1135 # Mainly for javasci
1136         @if test -d $(srcdir)/javadoc; then \
1137                 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
1138         fi
1139 # If the user wants the help sources to be installed
1140 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
1141 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
1142 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/$$lang; then \
1143 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
1144 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
1145 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
1146 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
1147 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
1148 @INSTALL_HELP_XML_TRUE@           done ; \
1149 @INSTALL_HELP_XML_TRUE@         fi; \
1150 @INSTALL_HELP_XML_TRUE@  fi; \
1151 @INSTALL_HELP_XML_TRUE@ done; \
1152 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
1153 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/mml/; then \
1154 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
1155 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
1156 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
1157 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
1158 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
1159 @INSTALL_HELP_XML_TRUE@           done ; \
1160 @INSTALL_HELP_XML_TRUE@         fi; \
1161 @INSTALL_HELP_XML_TRUE@ fi
1162 install-data-local:
1163 # Install the tests
1164         @echo "-------- Install tests (if any) --------"; \
1165         for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
1166           if test -d $(srcdir)/$$dir/; then \
1167             $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1168                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1169                     if test -d "$(srcdir)/$$dir/$$file"; then \
1170                           echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
1171                           $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
1172                     else \
1173                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1174                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1175                     fi \
1176                   done; \
1177           fi; \
1178         done
1179 # Install the help chapter
1180         @echo "-------- Install the help chapter (if any) --------"; \
1181         for lang in $(HELP_CHAPTERLANG); do \
1182                 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
1183                 if test -f $$HELPFILE; then \
1184                         echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1185                         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1186                         echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1187                         $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1188                 fi; \
1189         done
1190 # Install the demos & examples
1191         @echo "-------- Install demos & examples (if any) --------"; \
1192         for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
1193           if test -d $(srcdir)/$$dir/; then \
1194             $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
1195                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1196                     if test -d "$(srcdir)/$$dir/$$file"; then \
1197                           echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
1198                           $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
1199                     else \
1200                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1201                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1202                     fi \
1203                   done; \
1204           fi; \
1205         done
1206 # Install the macros
1207         @echo "-------- Install macros (if any) --------"; \
1208         for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1209           $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1210                 if test -d $(srcdir)/$$dir/; then \
1211                         FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
1212                         if test -n "$(MACROSSPECIALEXT)"; then \
1213                                 specialExtDir=""; \
1214                                 for specialExt in $(MACROSSPECIALEXT); do \
1215                                         specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
1216                                 done; \
1217                                 FILELIST="$$FILELIST $$specialExtDir"; \
1218                         fi; \
1219                   for file in `ls -1 $$FILELIST 2>/dev/null`; do \
1220                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
1221                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
1222                   done; \
1223                 fi; \
1224         done
1225 # Install java files (.jar)
1226         @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
1227         echo "-------- Install jar files --------"; \
1228     $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
1229           for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
1230                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
1231                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
1232           done ; \
1233         fi
1234
1235 ########### CLEAN ###################
1236 # Clean help (generated automatically by Scilab)
1237 # It used to clean the macro (clean-macros) but this was causing
1238 # make clean && make to fail Scilab startup
1239 @NEED_JAVA_TRUE@clean-local: clean-java
1240 @NEED_JAVA_FALSE@clean-local:
1241
1242 distclean-local:
1243         rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
1244
1245 .PHONY: macros java swig giws
1246
1247 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1248 # Otherwise a system limit (for SysV at least) may be exceeded.
1249 .NOEXPORT: