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