Fails the build when the command fails
[scilab.git] / scilab / modules / jit / Makefile.in
1 # Makefile.in generated by automake 1.13.3 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-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/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) \
122         $(ACLOCAL_M4)
123 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
124 CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
125 CONFIG_CLEAN_FILES =
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/||"`;; \
130     *) f=$$p;; \
131   esac;
132 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
133 am__install_max = 40
134 am__nobase_strip_setup = \
135   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
136 am__nobase_strip = \
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] }'
145 am__base_list = \
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 = { \
149   test -z "$$files" \
150     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
151     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
152          $(am__cd) "$$dir" && rm -f $$files; }; \
153   }
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
165 am__v_lt_1 = 
166 AM_V_P = $(am__v_P_@AM_V@)
167 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
168 am__v_P_0 = false
169 am__v_P_1 = :
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     " $@;
173 am__v_GEN_1 = 
174 AM_V_at = $(am__v_at_@AM_V@)
175 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
176 am__v_at_0 = @
177 am__v_at_1 = 
178 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
179 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
180 am__depfiles_maybe = depfiles
181 am__mv = mv -f
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     " $@;
191 am__v_CXX_1 = 
192 CXXLD = $(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   " $@;
199 am__v_CXXLD_1 = 
200 SOURCES = $(libscijit_la_SOURCES)
201 DIST_SOURCES = $(libscijit_la_SOURCES)
202 am__can_run_installinfo = \
203   case $$AM_UPDATE_INFO_DIR in \
204     n|no|NO) false;; \
205     *) (install-info --version) >/dev/null 2>&1;; \
206   esac
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
211 # *not* preserved.
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; }; } \
216 '
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)`
225 ETAGS = etags
226 CTAGS = ctags
227 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
228 ACLOCAL = @ACLOCAL@
229 ALL_LINGUAS = @ALL_LINGUAS@
230 ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
231 AMTAR = @AMTAR@
232 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
233 ANT = @ANT@
234 ANTLR = @ANTLR@
235 AR = @AR@
236 ARPACK_LIBS = @ARPACK_LIBS@
237 ASM3 = @ASM3@
238 AUTOCONF = @AUTOCONF@
239 AUTOHEADER = @AUTOHEADER@
240 AUTOMAKE = @AUTOMAKE@
241 AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
242 AWK = @AWK@
243 BATIK = @BATIK@
244 BLAS_LIBS = @BLAS_LIBS@
245 CC = @CC@
246 CCACHE = @CCACHE@
247 CCDEPMODE = @CCDEPMODE@
248 CFLAGS = @CFLAGS@
249 CHECKSTYLE = @CHECKSTYLE@
250 COBERTURA = @COBERTURA@
251 COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
252 COMMONS_IO = @COMMONS_IO@
253 COMMONS_LOGGING = @COMMONS_LOGGING@
254 CPP = @CPP@
255 CPPFLAGS = @CPPFLAGS@
256 CURL_CFLAGS = @CURL_CFLAGS@
257 CURL_CONFIG = @CURL_CONFIG@
258 CURL_LIBS = @CURL_LIBS@
259 CURL_VERSION = @CURL_VERSION@
260 CXX = @CXX@
261 CXXCPP = @CXXCPP@
262 CXXDEPMODE = @CXXDEPMODE@
263 CXXFLAGS = @CXXFLAGS@
264 CYGPATH_W = @CYGPATH_W@
265 DEFS = @DEFS@
266 DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
267 DEPDIR = @DEPDIR@
268 DOCBOOK_ROOT = @DOCBOOK_ROOT@
269 DOXYGEN_BIN = @DOXYGEN_BIN@
270 DSYMUTIL = @DSYMUTIL@
271 DUMPBIN = @DUMPBIN@
272 ECHO_C = @ECHO_C@
273 ECHO_N = @ECHO_N@
274 ECHO_T = @ECHO_T@
275 EGREP = @EGREP@
276 EIGEN_CPPFLAGS = @EIGEN_CPPFLAGS@
277 EXEEXT = @EXEEXT@
278 F77 = @F77@
279 FFLAGS = @FFLAGS@
280 FFTW3_LIB = @FFTW3_LIB@
281 FFTW_ENABLE = @FFTW_ENABLE@
282 FGREP = @FGREP@
283 FLEXDOCK = @FLEXDOCK@
284 FLIBS = @FLIBS@
285 FOP = @FOP@
286 GENHTML = @GENHTML@
287 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
288 GIWS_BIN = @GIWS_BIN@
289 GLUEGEN2_RT = @GLUEGEN2_RT@
290 GMSGFMT = @GMSGFMT@
291 GMSGFMT_015 = @GMSGFMT_015@
292 GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
293 GREP = @GREP@
294 GUI_ENABLE = @GUI_ENABLE@
295 HDF5_CFLAGS = @HDF5_CFLAGS@
296 HDF5_LIBS = @HDF5_LIBS@
297 HELP_ENABLE = @HELP_ENABLE@
298 INSTALL = @INSTALL@
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@
305 JAR = @JAR@
306 JAVA = @JAVA@
307 JAVAC = @JAVAC@
308 JAVAC_DEBUG = @JAVAC_DEBUG@
309 JAVADOC = @JAVADOC@
310 JAVAH = @JAVAH@
311 JAVASCI_ENABLE = @JAVASCI_ENABLE@
312 JAVA_ENABLE = @JAVA_ENABLE@
313 JAVA_G = @JAVA_G@
314 JAVA_HOME = @JAVA_HOME@
315 JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
316 JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
317 JDB = @JDB@
318 JEUCLID_CORE = @JEUCLID_CORE@
319 JGRAPHX = @JGRAPHX@
320 JHALL = @JHALL@
321 JLATEXMATH = @JLATEXMATH@
322 JLATEXMATH_FOP = @JLATEXMATH_FOP@
323 JOGL2 = @JOGL2@
324 JROSETTA_API = @JROSETTA_API@
325 JROSETTA_ENGINE = @JROSETTA_ENGINE@
326 JUNIT4 = @JUNIT4@
327 LAPACK_LIBS = @LAPACK_LIBS@
328 LCOV = @LCOV@
329 LD = @LD@
330 LDFLAGS = @LDFLAGS@
331 LEX = @LEX@
332 LEXLIB = @LEXLIB@
333 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
334 LIBICONV = @LIBICONV@
335 LIBINTL = @LIBINTL@
336 LIBM = @LIBM@
337 LIBOBJS = @LIBOBJS@
338 LIBS = @LIBS@
339 LIBTOOL = @LIBTOOL@
340 LIPO = @LIPO@
341 LLVM_INCLUDE_DIR = @LLVM_INCLUDE_DIR@
342 LLVM_LIB_DIR = @LLVM_LIB_DIR@
343 LN_S = @LN_S@
344 LOGGING_LEVEL = @LOGGING_LEVEL@
345 LOOKS = @LOOKS@
346 LTLIBICONV = @LTLIBICONV@
347 LTLIBINTL = @LTLIBINTL@
348 LTLIBOBJS = @LTLIBOBJS@
349 MAINT = @MAINT@
350 MAKEINFO = @MAKEINFO@
351 MATIO_CFLAGS = @MATIO_CFLAGS@
352 MATIO_ENABLE = @MATIO_ENABLE@
353 MATIO_LIBS = @MATIO_LIBS@
354 MKDIR_P = @MKDIR_P@
355 MSGCAT = @MSGCAT@
356 MSGFMT = @MSGFMT@
357 MSGFMT_015 = @MSGFMT_015@
358 MSGMERGE = @MSGMERGE@
359 NM = @NM@
360 NMEDIT = @NMEDIT@
361 OBJDUMP = @OBJDUMP@
362 OBJEXT = @OBJEXT@
363 OCAMLC = @OCAMLC@
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@
372 OTOOL = @OTOOL@
373 OTOOL64 = @OTOOL64@
374 PACKAGE = @PACKAGE@
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@
387 POSUB = @POSUB@
388 POW_LIB = @POW_LIB@
389 PYTHON = @PYTHON@
390 RANLIB = @RANLIB@
391 RELOCATABLE = @RELOCATABLE@
392 RT_LIB = @RT_LIB@
393 SAXON = @SAXON@
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@
405 SED = @SED@
406 SET_MAKE = @SET_MAKE@
407 SET_RELOCATABLE = @SET_RELOCATABLE@
408 SHELL = @SHELL@
409 SKINLF = @SKINLF@
410 SPLINT = @SPLINT@
411 STRIP = @STRIP@
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@
420 USE_NLS = @USE_NLS@
421 VERSION = @VERSION@
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@
433 XMKMF = @XMKMF@
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@
442 X_LIBS = @X_LIBS@
443 X_PRE_LIBS = @X_PRE_LIBS@
444 YACC = @YACC@
445 YFLAGS = @YFLAGS@
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@
458 am__tar = @am__tar@
459 am__untar = @am__untar@
460 bindir = @bindir@
461 build = @build@
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@
468 datadir = @datadir@
469 datarootdir = @datarootdir@
470 docdir = @docdir@
471 dvidir = @dvidir@
472 exec_prefix = @exec_prefix@
473 host = @host@
474 host_alias = @host_alias@
475 host_cpu = @host_cpu@
476 host_os = @host_os@
477 host_vendor = @host_vendor@
478 htmldir = @htmldir@
479 includedir = @includedir@
480 infodir = @infodir@
481 install_sh = @install_sh@
482 libdir = @libdir@
483 libexecdir = @libexecdir@
484 localedir = @localedir@
485 localstatedir = @localstatedir@
486 mandir = @mandir@
487 mkdir_p = @mkdir_p@
488 oldincludedir = @oldincludedir@
489 pdfdir = @pdfdir@
490 prefix = @prefix@
491 program_transform_name = @program_transform_name@
492 psdir = @psdir@
493 sbindir = @sbindir@
494 sharedstatedir = @sharedstatedir@
495 srcdir = @srcdir@
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
503 JIT_CPP_SOURCES = \
504         src/cpp/jitter.cpp
505
506 GATEWAY_CPP_SOURCES = \
507 sci_gateway/cpp/sci_runVMKit.cpp
508
509 libscijit_la_CPPFLAGS = \
510         -Iincludes \
511         -Isrc/cpp \
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 \
525     $(EIGEN_CPPFLAGS) \
526         $(VMKIT_CPPFLAGS) \
527         $(AM_CPPFLAGS)
528
529 libscijit_la_SOURCES = $(JIT_CPP_SOURCES) $(GATEWAY_CPP_SOURCES)
530 libscijit_la_includedir = $(pkgincludedir)
531 libscijit_la_include_HEADERS = 
532
533 ####################
534 ####################
535 check_INCLUDES = \
536     -I$(top_srcdir)/modules/symbol/includes \
537         -Iincludes/ \
538         -Isrc/cpp
539
540 check_LDADD = \
541     $(top_builddir)/modules/symbol/libsciSymbol.la \
542         $(top_builddir)/modules/jit/libscijit.la \
543         $(top_builddir)/modules/types/libsciTypes.la
544
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)
554
555 # This target transforms a basic code to llvm + clang code for the JIT
556 BUILT_SOURCES = src/cpp/llvm-wrapper-generated.cpp
557
558 # Where all the Scilab stuff is installed (macros, help, ...)
559 mydatadir = $(pkgdatadir)/modules/$(modulename)
560
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/
567
568 # Tag shared libraries with the Scilab version
569 AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
570
571 # splint options
572 SPLINT_OPTIONS = -weak -booltype BOOL
573
574 ########################### JAVA ######################################
575 #### We are delegating java compilation to ant... Thanks to that
576 #### the procedure will be the same with Microsoft Windows (C)
577 #### and Linux/Unix
578 #######################################################################
579 TARGETS_ALL = $(am__append_1)
580
581 ################ MACROS ######################
582 # Rule to build a macro
583 # NOT USED  AT THE MOMENT
584 SUFFIXES = .sci 
585
586 ########### INSTALL DOCUMENTATION ###################
587
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
592
593 # Where it should be installed
594 pkgdocdir = $(mydatadir)
595
596 # What is the mask of the help source
597 DOCMASKXML = *.xml
598
599 # What is the mask of the MathML sources
600 DOCMASKMML = *.mml
601
602 ########### INSTALL DATA ###################
603 # Install macros, help & demos
604 # Where it should be installed
605 pkgmacrosdir = $(mydatadir)
606 # Which directory we process
607 MACRODIRS = macros/
608 # Mask of the Scilab sources macros
609 MACROMASK = *.sci
610 # Mask of the Scilab executable sources macros
611 MACROBUILDMASK = *.sce
612 # Mask of the Scilab compiled macros
613 MACROBINMASK = *.bin
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
619 DEMOS_DIR = demos
620 # List of the standard directory for examples
621 EXAMPLES_DIR = examples
622 # Where to export JAVA archives (.jar)
623 JARDIR = jar/
624 # JAR files mask
625 JARMASK = *.jar
626 # Chapter file 
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
632
633 .SUFFIXES:
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)
636         @for dep in $?; do \
637           case '$(am__configure_deps)' in \
638             *$$dep*) \
639               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
640                 && { if test -f $@; then exit 0; else break; fi; }; \
641               exit 1;; \
642           esac; \
643         done; \
644         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/jit/Makefile'; \
645         $(am__cd) $(top_srcdir) && \
646           $(AUTOMAKE) --foreign modules/jit/Makefile
647 .PRECIOUS: Makefile
648 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
649         @case '$?' in \
650           *config.status*) \
651             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
652           *) \
653             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
654             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
655         esac;
656 $(top_srcdir)/Makefile.incl.am:
657
658 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
659         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
660
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):
666
667 install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
668         @$(NORMAL_INSTALL)
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"; \
673           else :; fi; \
674         done; \
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)"; \
680         }
681
682 uninstall-pkglibLTLIBRARIES:
683         @$(NORMAL_UNINSTALL)
684         @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
685         for p in $$list; do \
686           $(am__strip_dir) \
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"; \
689         done
690
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|' | \
696               sort -u`; \
697         test -z "$$locs" || { \
698           echo rm -f $${locs}; \
699           rm -f $${locs}; \
700         }
701
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)
704
705 mostlyclean-compile:
706         -rm -f *.$(OBJEXT)
707
708 distclean-compile:
709         -rm -f *.tab.c
710
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@
713
714 .cpp.o:
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 $@ $<
720
721 .cpp.obj:
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) '$<'`
727
728 .cpp.lo:
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 $@ $<
734
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
741
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
748
749 mostlyclean-libtool:
750         -rm -f *.lo
751
752 clean-libtool:
753         -rm -rf .libs _libs
754 install-libscijit_la_includeHEADERS: $(libscijit_la_include_HEADERS)
755         @$(NORMAL_INSTALL)
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; \
760         fi; \
761         for p in $$list; do \
762           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
763           echo "$$d$$p"; \
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 $$?; \
768         done
769
770 uninstall-libscijit_la_includeHEADERS:
771         @$(NORMAL_UNINSTALL)
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)
775
776 ID: $(am__tagged_files)
777         $(am__define_uniq_tagged_files); mkid -fID $$unique
778 tags: tags-am
779 TAGS: tags
780
781 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
782         set x; \
783         here=`pwd`; \
784         $(am__define_uniq_tagged_files); \
785         shift; \
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) \
790               "$$@" $$unique; \
791           else \
792             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
793               $$unique; \
794           fi; \
795         fi
796 ctags: ctags-am
797
798 CTAGS: ctags
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) \
803              $$unique
804
805 GTAGS:
806         here=`$(am__cd) $(top_builddir) && pwd` \
807           && $(am__cd) $(top_srcdir) \
808           && gtags -i $(GTAGS_ARGS) "$$here"
809 cscopelist: cscopelist-am
810
811 cscopelist-am: $(am__tagged_files)
812         list='$(am__tagged_files)'; \
813         case "$(srcdir)" in \
814           [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
815           *) sdir=$(subdir)/$(srcdir) ;; \
816         esac; \
817         for i in $$list; do \
818           if test -f "$$i"; then \
819             echo "$(subdir)/$$i"; \
820           else \
821             echo "$$sdir/$$i"; \
822           fi; \
823         done >> $(top_builddir)/cscope.files
824
825 distclean-tags:
826         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
827
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,/[^/]*$$,,' | \
838                            sort -u` ;; \
839         esac; \
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 {} \;; \
846             fi; \
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 {} \;; \
850             fi; \
851             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
852           else \
853             test -f "$(distdir)/$$file" \
854             || cp -p $$d/$$file "$(distdir)/$$file" \
855             || exit 1; \
856           fi; \
857         done
858 check-am: all-am
859         $(MAKE) $(AM_MAKEFLAGS) check-local
860 check: $(BUILT_SOURCES)
861         $(MAKE) $(AM_MAKEFLAGS) check-am
862 all-am: Makefile $(LTLIBRARIES) $(HEADERS) all-local
863 installdirs:
864         for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscijit_la_includedir)"; do \
865           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
866         done
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
872
873 install-am: all-am
874         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
875
876 installcheck: installcheck-am
877 install-strip:
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 \
881               install; \
882         else \
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; \
886         fi
887 mostlyclean-generic:
888
889 clean-generic:
890
891 distclean-generic:
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)
894
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)
899 clean: clean-am
900
901 clean-am: clean-generic clean-libtool clean-local \
902         clean-pkglibLTLIBRARIES mostlyclean-am
903
904 distclean: distclean-am
905         -rm -rf ./$(DEPDIR)
906         -rm -f Makefile
907 distclean-am: clean-am distclean-compile distclean-generic \
908         distclean-local distclean-tags
909
910 dvi: dvi-am
911
912 dvi-am:
913
914 html: html-am
915
916 html-am:
917
918 info: info-am
919
920 info-am:
921
922 install-data-am: install-data-local \
923         install-libscijit_la_includeHEADERS
924
925 install-dvi: install-dvi-am
926
927 install-dvi-am:
928
929 install-exec-am: install-pkglibLTLIBRARIES
930
931 install-html: install-html-am
932
933 install-html-am: install-html-local
934
935 install-info: install-info-am
936
937 install-info-am:
938
939 install-man:
940
941 install-pdf: install-pdf-am
942
943 install-pdf-am:
944
945 install-ps: install-ps-am
946
947 install-ps-am:
948
949 installcheck-am:
950
951 maintainer-clean: maintainer-clean-am
952         -rm -rf ./$(DEPDIR)
953         -rm -f Makefile
954 maintainer-clean-am: distclean-am maintainer-clean-generic
955
956 mostlyclean: mostlyclean-am
957
958 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
959         mostlyclean-libtool
960
961 pdf: pdf-am
962
963 pdf-am:
964
965 ps: ps-am
966
967 ps-am:
968
969 uninstall-am: uninstall-libscijit_la_includeHEADERS \
970         uninstall-pkglibLTLIBRARIES
971
972 .MAKE: all check check-am install install-am install-strip
973
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
991
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 src/cpp/llvm-wrapper.bc
994         llc-3.3 -march=cpp -cppgen=contents -o src/cpp/llvm-wrapper-generated.cpp src/cpp/llvm-wrapper.bc
995         rm src/cpp/llvm-wrapper.bc
996
997 # This target enables tests for Scilab
998 check-local: $(top_builddir)/scilab-bin test
999         if test -d $(mydatadir)/tests; then \
1000           @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
1001         fi
1002 check-code:
1003         if test -f build.xml; then \
1004                 $(ANT) checkstyle; \
1005         fi
1006         if test -x "$(SPLINT)"; then \
1007                 $(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); \
1008         fi
1009 @NEED_JAVA_TRUE@java:
1010 # Some configurations needs to export JAVA_HOME in the current env
1011 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
1012 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1013 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
1014 @NEED_JAVA_TRUE@                $(ANT); \
1015 @NEED_JAVA_TRUE@        fi
1016
1017 @NEED_JAVA_TRUE@clean-java:
1018 # Some configurations needs to export JAVA_HOME in the current env
1019 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
1020 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1021 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
1022 @NEED_JAVA_TRUE@                $(ANT) clean; \
1023 @NEED_JAVA_TRUE@        fi;
1024
1025 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
1026 # We call the target swig-build on the variable SWIG_WRAPPERS
1027
1028 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
1029 @SWIG_TRUE@     @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
1030 @SWIG_TRUE@     SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
1031 @SWIG_TRUE@     if test -n "$(SWIG_WRAPPERS)"; then \
1032 @SWIG_TRUE@             for file in $(SWIG_WRAPPERS) ; do \
1033 @SWIG_TRUE@                     echo "Swig process of $$file ..."; \
1034 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
1035 @SWIG_TRUE@             done; \
1036 @SWIG_TRUE@     fi
1037
1038 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
1039 # We call the target swig-build on the variable SWIG_WRAPPERS
1040
1041 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
1042 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
1043 @GIWS_TRUE@     if test -n "$(GIWS_WRAPPERS)"; then \
1044 @GIWS_TRUE@             for file in $(GIWS_WRAPPERS) ; do \
1045 @GIWS_TRUE@                     echo "GIWS process of $$file ..."; \
1046 @GIWS_TRUE@                     $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
1047 @GIWS_TRUE@             done; \
1048 @GIWS_TRUE@     fi
1049
1050 @GIWS_TRUE@giws-exception:
1051 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
1052 @GIWS_TRUE@     echo "GIWS: Generation of exception class ..."; \
1053 @GIWS_TRUE@     $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR 
1054
1055 macros:
1056         -@( if test ! -x $(top_builddir)/scilab-bin; then \
1057                 echo "Error : Cannot build $< : Scilab has not been built"; \
1058         else \
1059                 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
1060         fi)
1061
1062 # Removes the macros
1063 clean-macros:
1064 # Removes macros (*.bin generated from .sci)
1065         @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1066                 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
1067                 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
1068         done
1069
1070 test:
1071 # More tests could be added here
1072         @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1073         if test -f build.xml -a $$USEANT -eq 1; then \
1074                 $(ANT) test; \
1075         fi
1076
1077 all-local: $(TARGETS_ALL)
1078
1079 .sci.bin:
1080         -@( if test ! -x $(top_builddir)/scilab-bin; then \
1081         echo "Error : Cannot build $< : Scilab has not been build"; \
1082         else \
1083         echo "Creating $@"; \
1084         $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
1085         fi )
1086
1087 install-html-local:
1088
1089 install-data-local-local:
1090 # Mainly for javasci
1091         @if test -d $(srcdir)/javadoc; then \
1092                 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
1093         fi
1094 # If the user wants the help sources to be installed
1095 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
1096 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
1097 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/$$lang; then \
1098 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
1099 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
1100 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
1101 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
1102 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
1103 @INSTALL_HELP_XML_TRUE@           done ; \
1104 @INSTALL_HELP_XML_TRUE@         fi; \
1105 @INSTALL_HELP_XML_TRUE@  fi; \
1106 @INSTALL_HELP_XML_TRUE@ done; \
1107 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
1108 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/mml/; then \
1109 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
1110 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
1111 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
1112 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
1113 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
1114 @INSTALL_HELP_XML_TRUE@           done ; \
1115 @INSTALL_HELP_XML_TRUE@         fi; \
1116 @INSTALL_HELP_XML_TRUE@ fi
1117 install-data-local:
1118 # Install the tests
1119         @echo "-------- Install tests (if any) --------"; \
1120         for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
1121           if test -d $(srcdir)/$$dir/; then \
1122             $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1123                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1124                     if test -d "$(srcdir)/$$dir/$$file"; then \
1125                           echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
1126                           $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
1127                     else \
1128                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1129                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1130                     fi \
1131                   done; \
1132           fi; \
1133         done
1134 # Install the help chapter
1135         @echo "-------- Install the help chapter (if any) --------"; \
1136         for lang in $(HELP_CHAPTERLANG); do \
1137                 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
1138                 if test -f $$HELPFILE; then \
1139                         echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1140                         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1141                         echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1142                         $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1143                 fi; \
1144         done
1145 # Install the demos & examples
1146         @echo "-------- Install demos & examples (if any) --------"; \
1147         for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
1148           if test -d $(srcdir)/$$dir/; then \
1149             $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
1150                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1151                     if test -d "$(srcdir)/$$dir/$$file"; then \
1152                           echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
1153                           $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
1154                     else \
1155                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1156                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1157                     fi \
1158                   done; \
1159           fi; \
1160         done
1161 # Install the macros
1162         @echo "-------- Install macros (if any) --------"; \
1163         for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1164           $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1165                 if test -d $(srcdir)/$$dir/; then \
1166                         FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
1167                         if test -n "$(MACROSSPECIALEXT)"; then \
1168                                 specialExtDir=""; \
1169                                 for specialExt in $(MACROSSPECIALEXT); do \
1170                                         specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
1171                                 done; \
1172                                 FILELIST="$$FILELIST $$specialExtDir"; \
1173                         fi; \
1174                   for file in `ls -1 $$FILELIST 2>/dev/null`; do \
1175                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
1176                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
1177                   done; \
1178                 fi; \
1179         done
1180 # Install java files (.jar)
1181         @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
1182         echo "-------- Install jar files --------"; \
1183     $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
1184           for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
1185                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
1186                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
1187           done ; \
1188         fi
1189
1190 ########### CLEAN ###################
1191 # Clean help (generated automatically by Scilab)
1192 # It used to clean the macro (clean-macros) but this was causing
1193 # make clean && make to fail Scilab startup
1194 @NEED_JAVA_TRUE@clean-local: clean-java
1195 @NEED_JAVA_FALSE@clean-local:
1196
1197 distclean-local:
1198         rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
1199
1200 .PHONY: macros java swig giws
1201
1202 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1203 # Otherwise a system limit (for SysV at least) may be exceeded.
1204 .NOEXPORT: