reforge symbol/context management
[scilab.git] / scilab / modules / symbol / Makefile.in
1 # Makefile.in generated by automake 1.11.6 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6 # Foundation, Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
15
16 @SET_MAKE@
17
18 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
19 # Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
20 # Copyright (C) 2008      - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
21 #
22 # This file must be used under the terms of the CeCILL.
23 # This source file is licensed as described in the file COPYING, which
24 # you should have received as part of this distribution.  The terms
25 # are also available at
26 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
27 #
28
29 ##########
30 ### Makefile included stuff
31 ### Target, variable, suffixes which are supposed to be useful in every makefile.am
32 ##########
33
34
35 VPATH = @srcdir@
36 am__make_dryrun = \
37   { \
38     am__dry=no; \
39     case $$MAKEFLAGS in \
40       *\\[\ \   ]*) \
41         echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
42           | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
43       *) \
44         for am__flg in $$MAKEFLAGS; do \
45           case $$am__flg in \
46             *=*|--*) ;; \
47             *n*) am__dry=yes; break;; \
48           esac; \
49         done;; \
50     esac; \
51     test $$am__dry = yes; \
52   }
53 pkgdatadir = $(datadir)/@PACKAGE@
54 pkgincludedir = $(includedir)/@PACKAGE@
55 pkglibdir = $(libdir)/@PACKAGE@
56 pkglibexecdir = $(libexecdir)/@PACKAGE@
57 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
58 install_sh_DATA = $(install_sh) -c -m 644
59 install_sh_PROGRAM = $(install_sh) -c
60 install_sh_SCRIPT = $(install_sh) -c
61 INSTALL_HEADER = $(INSTALL_DATA)
62 transform = $(program_transform_name)
63 NORMAL_INSTALL = :
64 PRE_INSTALL = :
65 POST_INSTALL = :
66 NORMAL_UNINSTALL = :
67 PRE_UNINSTALL = :
68 POST_UNINSTALL = :
69 build_triplet = @build@
70 host_triplet = @host@
71 DIST_COMMON = $(libscisymbol_la_include_HEADERS) $(srcdir)/Makefile.am \
72         $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am
73 @NEED_JAVA_TRUE@am__append_1 = java
74 subdir = modules/symbol
75 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
76 am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
77         $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \
78         $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \
79         $(top_srcdir)/m4/eigen.m4 $(top_srcdir)/m4/fftw.m4 \
80         $(top_srcdir)/m4/fortran.m4 $(top_srcdir)/m4/giws.m4 \
81         $(top_srcdir)/m4/hdf5.m4 $(top_srcdir)/m4/intel_compiler.m4 \
82         $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
83         $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
84         $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
85         $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
86         $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
87         $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
88         $(top_srcdir)/m4/ocaml.m4 $(top_srcdir)/m4/pcre.m4 \
89         $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/relocatable.m4 \
90         $(top_srcdir)/m4/swig.m4 $(top_srcdir)/m4/symlinks.m4 \
91         $(top_srcdir)/m4/tcltk.m4 $(top_srcdir)/m4/umfpack.m4 \
92         $(top_srcdir)/configure.ac
93 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
94         $(ACLOCAL_M4)
95 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
96 CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
97 CONFIG_CLEAN_FILES =
98 CONFIG_CLEAN_VPATH_FILES =
99 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
100 am__vpath_adj = case $$p in \
101     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
102     *) f=$$p;; \
103   esac;
104 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
105 am__install_max = 40
106 am__nobase_strip_setup = \
107   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
108 am__nobase_strip = \
109   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
110 am__nobase_list = $(am__nobase_strip_setup); \
111   for p in $$list; do echo "$$p $$p"; done | \
112   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
113   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
114     if (++n[$$2] == $(am__install_max)) \
115       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
116     END { for (dir in files) print dir, files[dir] }'
117 am__base_list = \
118   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
119   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
120 am__uninstall_files_from_dir = { \
121   test -z "$$files" \
122     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
123     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
124          $(am__cd) "$$dir" && rm -f $$files; }; \
125   }
126 am__installdirs = "$(DESTDIR)$(pkglibdir)" \
127         "$(DESTDIR)$(libscisymbol_la_includedir)"
128 LTLIBRARIES = $(pkglib_LTLIBRARIES)
129 libscisymbol_la_DEPENDENCIES =
130 am__objects_1 = libscisymbol_la-symbol.lo libscisymbol_la-context.lo \
131         libscisymbol_la-scope.lo libscisymbol_la-variables.lo
132 am_libscisymbol_la_OBJECTS = $(am__objects_1)
133 libscisymbol_la_OBJECTS = $(am_libscisymbol_la_OBJECTS)
134 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
135 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
136 am__depfiles_maybe = depfiles
137 am__mv = mv -f
138 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
139         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
140 LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
141         --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
142         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
143 CXXLD = $(CXX)
144 CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
145         --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
146         $(LDFLAGS) -o $@
147 SOURCES = $(libscisymbol_la_SOURCES)
148 DIST_SOURCES = $(libscisymbol_la_SOURCES)
149 am__can_run_installinfo = \
150   case $$AM_UPDATE_INFO_DIR in \
151     n|no|NO) false;; \
152     *) (install-info --version) >/dev/null 2>&1;; \
153   esac
154 HEADERS = $(libscisymbol_la_include_HEADERS)
155 ETAGS = etags
156 CTAGS = ctags
157 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
158 ACLOCAL = @ACLOCAL@
159 ALL_LINGUAS = @ALL_LINGUAS@
160 ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
161 AMTAR = @AMTAR@
162 ANT = @ANT@
163 ANTLR = @ANTLR@
164 AR = @AR@
165 ARPACK_LIBS = @ARPACK_LIBS@
166 ASM3 = @ASM3@
167 AUTOCONF = @AUTOCONF@
168 AUTOHEADER = @AUTOHEADER@
169 AUTOMAKE = @AUTOMAKE@
170 AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
171 AWK = @AWK@
172 BATIK = @BATIK@
173 BLAS_LIBS = @BLAS_LIBS@
174 CC = @CC@
175 CCACHE = @CCACHE@
176 CCDEPMODE = @CCDEPMODE@
177 CFLAGS = @CFLAGS@
178 CHECKSTYLE = @CHECKSTYLE@
179 COBERTURA = @COBERTURA@
180 COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
181 COMMONS_IO = @COMMONS_IO@
182 COMMONS_LOGGING = @COMMONS_LOGGING@
183 CPP = @CPP@
184 CPPFLAGS = @CPPFLAGS@
185 CURL_CFLAGS = @CURL_CFLAGS@
186 CURL_CONFIG = @CURL_CONFIG@
187 CURL_LIBS = @CURL_LIBS@
188 CURL_VERSION = @CURL_VERSION@
189 CXX = @CXX@
190 CXXCPP = @CXXCPP@
191 CXXDEPMODE = @CXXDEPMODE@
192 CXXFLAGS = @CXXFLAGS@
193 CYGPATH_W = @CYGPATH_W@
194 DEFS = @DEFS@
195 DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
196 DEPDIR = @DEPDIR@
197 DOCBOOK_ROOT = @DOCBOOK_ROOT@
198 DOXYGEN_BIN = @DOXYGEN_BIN@
199 DSYMUTIL = @DSYMUTIL@
200 DUMPBIN = @DUMPBIN@
201 ECHO_C = @ECHO_C@
202 ECHO_N = @ECHO_N@
203 ECHO_T = @ECHO_T@
204 EGREP = @EGREP@
205 EIGEN_CPPFLAGS = @EIGEN_CPPFLAGS@
206 EXEEXT = @EXEEXT@
207 F77 = @F77@
208 FFLAGS = @FFLAGS@
209 FFTW3_LIB = @FFTW3_LIB@
210 FFTW_ENABLE = @FFTW_ENABLE@
211 FGREP = @FGREP@
212 FLEXDOCK = @FLEXDOCK@
213 FLIBS = @FLIBS@
214 FOP = @FOP@
215 GENHTML = @GENHTML@
216 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
217 GIWS_BIN = @GIWS_BIN@
218 GLUEGEN2_RT = @GLUEGEN2_RT@
219 GMSGFMT = @GMSGFMT@
220 GMSGFMT_015 = @GMSGFMT_015@
221 GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
222 GREP = @GREP@
223 GUI_ENABLE = @GUI_ENABLE@
224 HDF5_CFLAGS = @HDF5_CFLAGS@
225 HDF5_LIBS = @HDF5_LIBS@
226 HELP_ENABLE = @HELP_ENABLE@
227 INSTALL = @INSTALL@
228 INSTALL_DATA = @INSTALL_DATA@
229 INSTALL_PROGRAM = @INSTALL_PROGRAM@
230 INSTALL_SCRIPT = @INSTALL_SCRIPT@
231 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
232 INTLLIBS = @INTLLIBS@
233 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
234 JAR = @JAR@
235 JAVA = @JAVA@
236 JAVAC = @JAVAC@
237 JAVAC_DEBUG = @JAVAC_DEBUG@
238 JAVADOC = @JAVADOC@
239 JAVAH = @JAVAH@
240 JAVASCI_ENABLE = @JAVASCI_ENABLE@
241 JAVA_ENABLE = @JAVA_ENABLE@
242 JAVA_G = @JAVA_G@
243 JAVA_HOME = @JAVA_HOME@
244 JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
245 JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
246 JDB = @JDB@
247 JEUCLID_CORE = @JEUCLID_CORE@
248 JGRAPHX = @JGRAPHX@
249 JHALL = @JHALL@
250 JLATEXMATH = @JLATEXMATH@
251 JLATEXMATH_FOP = @JLATEXMATH_FOP@
252 JOGL2 = @JOGL2@
253 JROSETTA_API = @JROSETTA_API@
254 JROSETTA_ENGINE = @JROSETTA_ENGINE@
255 JUNIT4 = @JUNIT4@
256 LAPACK_LIBS = @LAPACK_LIBS@
257 LCOV = @LCOV@
258 LD = @LD@
259 LDFLAGS = @LDFLAGS@
260 LEX = @LEX@
261 LEXLIB = @LEXLIB@
262 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
263 LIBICONV = @LIBICONV@
264 LIBINTL = @LIBINTL@
265 LIBM = @LIBM@
266 LIBOBJS = @LIBOBJS@
267 LIBS = @LIBS@
268 LIBTOOL = @LIBTOOL@
269 LIPO = @LIPO@
270 LN_S = @LN_S@
271 LOGGING_LEVEL = @LOGGING_LEVEL@
272 LOOKS = @LOOKS@
273 LTLIBICONV = @LTLIBICONV@
274 LTLIBINTL = @LTLIBINTL@
275 LTLIBOBJS = @LTLIBOBJS@
276 MAINT = @MAINT@
277 MAKEINFO = @MAKEINFO@
278 MATIO_CFLAGS = @MATIO_CFLAGS@
279 MATIO_ENABLE = @MATIO_ENABLE@
280 MATIO_LIBS = @MATIO_LIBS@
281 MKDIR_P = @MKDIR_P@
282 MSGCAT = @MSGCAT@
283 MSGFMT = @MSGFMT@
284 MSGFMT_015 = @MSGFMT_015@
285 MSGMERGE = @MSGMERGE@
286 NM = @NM@
287 NMEDIT = @NMEDIT@
288 OBJDUMP = @OBJDUMP@
289 OBJEXT = @OBJEXT@
290 OCAMLC = @OCAMLC@
291 OCAMLDEP = @OCAMLDEP@
292 OCAMLLEX = @OCAMLLEX@
293 OCAMLOPT = @OCAMLOPT@
294 OCAMLYACC = @OCAMLYACC@
295 OPENMP_CFLAGS = @OPENMP_CFLAGS@
296 OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
297 OPENMP_ENABLE = @OPENMP_ENABLE@
298 OPENMP_LIBS = @OPENMP_LIBS@
299 OTOOL = @OTOOL@
300 OTOOL64 = @OTOOL64@
301 PACKAGE = @PACKAGE@
302 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
303 PACKAGE_NAME = @PACKAGE_NAME@
304 PACKAGE_STRING = @PACKAGE_STRING@
305 PACKAGE_TARNAME = @PACKAGE_TARNAME@
306 PACKAGE_URL = @PACKAGE_URL@
307 PACKAGE_VERSION = @PACKAGE_VERSION@
308 PATH_SEPARATOR = @PATH_SEPARATOR@
309 PCRE_CFLAGS = @PCRE_CFLAGS@
310 PCRE_CONFIG = @PCRE_CONFIG@
311 PCRE_LIBS = @PCRE_LIBS@
312 PCRE_VERSION = @PCRE_VERSION@
313 PKG_CONFIG = @PKG_CONFIG@
314 POSUB = @POSUB@
315 POW_LIB = @POW_LIB@
316 PYTHON = @PYTHON@
317 RANLIB = @RANLIB@
318 RELOCATABLE = @RELOCATABLE@
319 RT_LIB = @RT_LIB@
320 SAXON = @SAXON@
321 SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
322 SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
323 SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
324 SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
325 SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
326 SCIRENDERER = @SCIRENDERER@
327 SCIRENDERER_CP = @SCIRENDERER_CP@
328 SCI_CFLAGS = @SCI_CFLAGS@
329 SCI_CXXFLAGS = @SCI_CXXFLAGS@
330 SCI_FFLAGS = @SCI_FFLAGS@
331 SCI_LDFLAGS = @SCI_LDFLAGS@
332 SED = @SED@
333 SET_MAKE = @SET_MAKE@
334 SET_RELOCATABLE = @SET_RELOCATABLE@
335 SHELL = @SHELL@
336 SKINLF = @SKINLF@
337 SPLINT = @SPLINT@
338 STRIP = @STRIP@
339 SWIG_BIN = @SWIG_BIN@
340 SWIG_JAVA = @SWIG_JAVA@
341 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
342 TCLTK_LIBS = @TCLTK_LIBS@
343 TCL_INC_PATH = @TCL_INC_PATH@
344 TK_INC_PATH = @TK_INC_PATH@
345 UMFPACK_ENABLE = @UMFPACK_ENABLE@
346 UMFPACK_LIB = @UMFPACK_LIB@
347 USE_NLS = @USE_NLS@
348 VERSION = @VERSION@
349 WITH_OCAML = @WITH_OCAML@
350 WITH_TKSCI = @WITH_TKSCI@
351 XCOS_ENABLE = @XCOS_ENABLE@
352 XGETTEXT = @XGETTEXT@
353 XGETTEXT_015 = @XGETTEXT_015@
354 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
355 XMKMF = @XMKMF@
356 XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
357 XML_APIS_EXT = @XML_APIS_EXT@
358 XML_CONFIG = @XML_CONFIG@
359 XML_FLAGS = @XML_FLAGS@
360 XML_LIBS = @XML_LIBS@
361 XML_VERSION = @XML_VERSION@
362 X_CFLAGS = @X_CFLAGS@
363 X_EXTRA_LIBS = @X_EXTRA_LIBS@
364 X_LIBS = @X_LIBS@
365 X_PRE_LIBS = @X_PRE_LIBS@
366 YACC = @YACC@
367 YFLAGS = @YFLAGS@
368 abs_builddir = @abs_builddir@
369 abs_srcdir = @abs_srcdir@
370 abs_top_builddir = @abs_top_builddir@
371 abs_top_srcdir = @abs_top_srcdir@
372 ac_ct_CC = @ac_ct_CC@
373 ac_ct_CXX = @ac_ct_CXX@
374 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
375 ac_ct_F77 = @ac_ct_F77@
376 am__include = @am__include@
377 am__leading_dot = @am__leading_dot@
378 am__quote = @am__quote@
379 am__tar = @am__tar@
380 am__untar = @am__untar@
381 bindir = @bindir@
382 build = @build@
383 build_alias = @build_alias@
384 build_cpu = @build_cpu@
385 build_os = @build_os@
386 build_vendor = @build_vendor@
387 builddir = @builddir@
388 cxx_present = @cxx_present@
389 datadir = @datadir@
390 datarootdir = @datarootdir@
391 docdir = @docdir@
392 dvidir = @dvidir@
393 exec_prefix = @exec_prefix@
394 host = @host@
395 host_alias = @host_alias@
396 host_cpu = @host_cpu@
397 host_os = @host_os@
398 host_vendor = @host_vendor@
399 htmldir = @htmldir@
400 includedir = @includedir@
401 infodir = @infodir@
402 install_sh = @install_sh@
403 libdir = @libdir@
404 libexecdir = @libexecdir@
405 localedir = @localedir@
406 localstatedir = @localstatedir@
407 mandir = @mandir@
408 mkdir_p = @mkdir_p@
409 oldincludedir = @oldincludedir@
410 pdfdir = @pdfdir@
411 prefix = @prefix@
412 program_transform_name = @program_transform_name@
413 psdir = @psdir@
414 sbindir = @sbindir@
415 sharedstatedir = @sharedstatedir@
416 srcdir = @srcdir@
417 sysconfdir = @sysconfdir@
418 target_alias = @target_alias@
419 top_build_prefix = @top_build_prefix@
420 top_builddir = @top_builddir@
421 top_srcdir = @top_srcdir@
422 yacc_present = @yacc_present@
423 SYMBOL_CXX_SOURCES = \
424     src/cpp/symbol.cpp \
425     src/cpp/context.cpp \
426     src/cpp/scope.cpp \
427     src/cpp/variables.cpp
428
429 pkglib_LTLIBRARIES = libscisymbol.la
430 libscisymbol_la_SOURCES = $(SYMBOL_CXX_SOURCES)
431 libscisymbol_la_CPPFLAGS = \
432         -I includes/ \
433         -I src/cpp \
434     -I$(top_srcdir)/modules/dynamic_link/includes \
435         -I$(top_builddir)/modules/types/includes \
436         -I$(top_builddir)/modules/functions_manager/includes \
437         -I$(top_builddir)/modules/elementary_functions/includes \
438         -I$(top_builddir)/modules/operations/includes \
439         -I$(top_builddir)/modules/ast/includes \
440         -I$(top_builddir)/modules/localization/includes \
441         $(AM_CPPFLAGS)
442
443 libscisymbol_la_LIBADD = 
444 libscisymbol_la_includedir = $(pkgincludedir)/Symbol
445 libscisymbol_la_include_HEADERS = includes/symbol.hxx
446
447 # For the code check (splint)
448 INCLUDE_FLAGS = $(libscisymbol_la_CPPFLAGS)
449
450 # Where all the Scilab stuff is installed (macros, help, ...)
451 mydatadir = $(pkgdatadir)/modules/$(modulename)
452
453 # Set AM_* SCI detected settings
454 AM_CPPFLAGS = $(SCI_CPPFLAGS)
455 AM_CFLAGS = $(SCI_CFLAGS)
456 AM_CXXFLAGS = $(SCI_CXXFLAGS)
457 # append includes to AM_FFLAGS to manage fortran includes
458 AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
459
460 # Tag shared libraries with the Scilab version
461 AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
462
463 # splint options
464 SPLINT_OPTIONS = -weak -booltype BOOL
465
466 ########################### JAVA ######################################
467 #### We are delegating java compilation to ant... Thanks to that
468 #### the procedure will be the same with Microsoft Windows (C)
469 #### and Linux/Unix
470 #######################################################################
471 TARGETS_ALL = $(am__append_1)
472
473 ################ MACROS ######################
474 # Rule to build a macro
475 # NOT USED  AT THE MOMENT
476 SUFFIXES = .sci 
477
478 ########### INSTALL DOCUMENTATION ###################
479
480 # Install documentation files into the right target
481 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
482 # automake needs the html files to be present which is not the case when
483 # we are building Scilab
484
485 # Where it should be installed
486 pkgdocdir = $(mydatadir)
487
488 # What is the mask of the help source
489 DOCMASKXML = *.xml
490
491 # What is the mask of the MathML sources
492 DOCMASKMML = *.mml
493
494 ########### INSTALL DATA ###################
495 # Install macros, help & demos
496 # Where it should be installed
497 pkgmacrosdir = $(mydatadir)
498 # Which directory we process
499 MACRODIRS = macros/
500 # Mask of the Scilab sources macros
501 MACROMASK = *.sci
502 # Mask of the Scilab executable sources macros
503 MACROBUILDMASK = *.sce
504 # Mask of the Scilab compiled macros
505 MACROBINMASK = *.bin
506 # List of the standard directory for tests
507 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
508 # Where the demos should be installed
509 pkgdemosdir = $(mydatadir)
510 # List of the standard directory for demos
511 DEMOS_DIR = demos
512 # List of the standard directory for examples
513 EXAMPLES_DIR = examples
514 # Where to export JAVA archives (.jar)
515 JARDIR = jar/
516 # JAR files mask
517 JARMASK = *.jar
518 # Chapter file 
519 HELP_CHAPTERDIR = help/
520 HELP_CHAPTERFILE = addchapter.sce
521 HELP_CHAPTERLANG = en_US fr_FR pt_BR
522 all: all-am
523
524 .SUFFIXES:
525 .SUFFIXES: .sci .bin .cpp .lo .o .obj
526 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
527         @for dep in $?; do \
528           case '$(am__configure_deps)' in \
529             *$$dep*) \
530               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
531                 && { if test -f $@; then exit 0; else break; fi; }; \
532               exit 1;; \
533           esac; \
534         done; \
535         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/symbol/Makefile'; \
536         $(am__cd) $(top_srcdir) && \
537           $(AUTOMAKE) --foreign modules/symbol/Makefile
538 .PRECIOUS: Makefile
539 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
540         @case '$?' in \
541           *config.status*) \
542             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
543           *) \
544             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
545             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
546         esac;
547 $(top_srcdir)/Makefile.incl.am:
548
549 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
550         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
551
552 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
553         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
554 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
555         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
556 $(am__aclocal_m4_deps):
557 install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
558         @$(NORMAL_INSTALL)
559         @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
560         list2=; for p in $$list; do \
561           if test -f $$p; then \
562             list2="$$list2 $$p"; \
563           else :; fi; \
564         done; \
565         test -z "$$list2" || { \
566           echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
567           $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
568           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
569           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
570         }
571
572 uninstall-pkglibLTLIBRARIES:
573         @$(NORMAL_UNINSTALL)
574         @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
575         for p in $$list; do \
576           $(am__strip_dir) \
577           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
578           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
579         done
580
581 clean-pkglibLTLIBRARIES:
582         -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
583         @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
584           dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
585           test "$$dir" != "$$p" || dir=.; \
586           echo "rm -f \"$${dir}/so_locations\""; \
587           rm -f "$${dir}/so_locations"; \
588         done
589 libscisymbol.la: $(libscisymbol_la_OBJECTS) $(libscisymbol_la_DEPENDENCIES) $(EXTRA_libscisymbol_la_DEPENDENCIES) 
590         $(CXXLINK) -rpath $(pkglibdir) $(libscisymbol_la_OBJECTS) $(libscisymbol_la_LIBADD) $(LIBS)
591
592 mostlyclean-compile:
593         -rm -f *.$(OBJEXT)
594
595 distclean-compile:
596         -rm -f *.tab.c
597
598 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisymbol_la-context.Plo@am__quote@
599 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisymbol_la-scope.Plo@am__quote@
600 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisymbol_la-symbol.Plo@am__quote@
601 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscisymbol_la-variables.Plo@am__quote@
602
603 .cpp.o:
604 @am__fastdepCXX_TRUE@   $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
605 @am__fastdepCXX_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
606 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
607 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
608 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ $<
609
610 .cpp.obj:
611 @am__fastdepCXX_TRUE@   $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
612 @am__fastdepCXX_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
613 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
614 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
615 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
616
617 .cpp.lo:
618 @am__fastdepCXX_TRUE@   $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
619 @am__fastdepCXX_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
620 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
621 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
622 @am__fastdepCXX_FALSE@  $(LTCXXCOMPILE) -c -o $@ $<
623
624 libscisymbol_la-symbol.lo: src/cpp/symbol.cpp
625 @am__fastdepCXX_TRUE@   $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisymbol_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscisymbol_la-symbol.lo -MD -MP -MF $(DEPDIR)/libscisymbol_la-symbol.Tpo -c -o libscisymbol_la-symbol.lo `test -f 'src/cpp/symbol.cpp' || echo '$(srcdir)/'`src/cpp/symbol.cpp
626 @am__fastdepCXX_TRUE@   $(am__mv) $(DEPDIR)/libscisymbol_la-symbol.Tpo $(DEPDIR)/libscisymbol_la-symbol.Plo
627 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='src/cpp/symbol.cpp' object='libscisymbol_la-symbol.lo' libtool=yes @AMDEPBACKSLASH@
628 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
629 @am__fastdepCXX_FALSE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisymbol_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscisymbol_la-symbol.lo `test -f 'src/cpp/symbol.cpp' || echo '$(srcdir)/'`src/cpp/symbol.cpp
630
631 libscisymbol_la-context.lo: src/cpp/context.cpp
632 @am__fastdepCXX_TRUE@   $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisymbol_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscisymbol_la-context.lo -MD -MP -MF $(DEPDIR)/libscisymbol_la-context.Tpo -c -o libscisymbol_la-context.lo `test -f 'src/cpp/context.cpp' || echo '$(srcdir)/'`src/cpp/context.cpp
633 @am__fastdepCXX_TRUE@   $(am__mv) $(DEPDIR)/libscisymbol_la-context.Tpo $(DEPDIR)/libscisymbol_la-context.Plo
634 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='src/cpp/context.cpp' object='libscisymbol_la-context.lo' libtool=yes @AMDEPBACKSLASH@
635 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
636 @am__fastdepCXX_FALSE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisymbol_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscisymbol_la-context.lo `test -f 'src/cpp/context.cpp' || echo '$(srcdir)/'`src/cpp/context.cpp
637
638 libscisymbol_la-scope.lo: src/cpp/scope.cpp
639 @am__fastdepCXX_TRUE@   $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisymbol_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscisymbol_la-scope.lo -MD -MP -MF $(DEPDIR)/libscisymbol_la-scope.Tpo -c -o libscisymbol_la-scope.lo `test -f 'src/cpp/scope.cpp' || echo '$(srcdir)/'`src/cpp/scope.cpp
640 @am__fastdepCXX_TRUE@   $(am__mv) $(DEPDIR)/libscisymbol_la-scope.Tpo $(DEPDIR)/libscisymbol_la-scope.Plo
641 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='src/cpp/scope.cpp' object='libscisymbol_la-scope.lo' libtool=yes @AMDEPBACKSLASH@
642 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
643 @am__fastdepCXX_FALSE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisymbol_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscisymbol_la-scope.lo `test -f 'src/cpp/scope.cpp' || echo '$(srcdir)/'`src/cpp/scope.cpp
644
645 libscisymbol_la-variables.lo: src/cpp/variables.cpp
646 @am__fastdepCXX_TRUE@   $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisymbol_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscisymbol_la-variables.lo -MD -MP -MF $(DEPDIR)/libscisymbol_la-variables.Tpo -c -o libscisymbol_la-variables.lo `test -f 'src/cpp/variables.cpp' || echo '$(srcdir)/'`src/cpp/variables.cpp
647 @am__fastdepCXX_TRUE@   $(am__mv) $(DEPDIR)/libscisymbol_la-variables.Tpo $(DEPDIR)/libscisymbol_la-variables.Plo
648 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='src/cpp/variables.cpp' object='libscisymbol_la-variables.lo' libtool=yes @AMDEPBACKSLASH@
649 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
650 @am__fastdepCXX_FALSE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisymbol_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscisymbol_la-variables.lo `test -f 'src/cpp/variables.cpp' || echo '$(srcdir)/'`src/cpp/variables.cpp
651
652 mostlyclean-libtool:
653         -rm -f *.lo
654
655 clean-libtool:
656         -rm -rf .libs _libs
657 install-libscisymbol_la_includeHEADERS: $(libscisymbol_la_include_HEADERS)
658         @$(NORMAL_INSTALL)
659         @list='$(libscisymbol_la_include_HEADERS)'; test -n "$(libscisymbol_la_includedir)" || list=; \
660         if test -n "$$list"; then \
661           echo " $(MKDIR_P) '$(DESTDIR)$(libscisymbol_la_includedir)'"; \
662           $(MKDIR_P) "$(DESTDIR)$(libscisymbol_la_includedir)" || exit 1; \
663         fi; \
664         for p in $$list; do \
665           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
666           echo "$$d$$p"; \
667         done | $(am__base_list) | \
668         while read files; do \
669           echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libscisymbol_la_includedir)'"; \
670           $(INSTALL_HEADER) $$files "$(DESTDIR)$(libscisymbol_la_includedir)" || exit $$?; \
671         done
672
673 uninstall-libscisymbol_la_includeHEADERS:
674         @$(NORMAL_UNINSTALL)
675         @list='$(libscisymbol_la_include_HEADERS)'; test -n "$(libscisymbol_la_includedir)" || list=; \
676         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
677         dir='$(DESTDIR)$(libscisymbol_la_includedir)'; $(am__uninstall_files_from_dir)
678
679 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
680         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
681         unique=`for i in $$list; do \
682             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
683           done | \
684           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
685               END { if (nonempty) { for (i in files) print i; }; }'`; \
686         mkid -fID $$unique
687 tags: TAGS
688
689 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
690                 $(TAGS_FILES) $(LISP)
691         set x; \
692         here=`pwd`; \
693         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
694         unique=`for i in $$list; do \
695             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
696           done | \
697           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
698               END { if (nonempty) { for (i in files) print i; }; }'`; \
699         shift; \
700         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
701           test -n "$$unique" || unique=$$empty_fix; \
702           if test $$# -gt 0; then \
703             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
704               "$$@" $$unique; \
705           else \
706             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
707               $$unique; \
708           fi; \
709         fi
710 ctags: CTAGS
711 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
712                 $(TAGS_FILES) $(LISP)
713         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
714         unique=`for i in $$list; do \
715             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
716           done | \
717           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
718               END { if (nonempty) { for (i in files) print i; }; }'`; \
719         test -z "$(CTAGS_ARGS)$$unique" \
720           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
721              $$unique
722
723 GTAGS:
724         here=`$(am__cd) $(top_builddir) && pwd` \
725           && $(am__cd) $(top_srcdir) \
726           && gtags -i $(GTAGS_ARGS) "$$here"
727
728 distclean-tags:
729         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
730
731 distdir: $(DISTFILES)
732         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
733         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
734         list='$(DISTFILES)'; \
735           dist_files=`for file in $$list; do echo $$file; done | \
736           sed -e "s|^$$srcdirstrip/||;t" \
737               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
738         case $$dist_files in \
739           */*) $(MKDIR_P) `echo "$$dist_files" | \
740                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
741                            sort -u` ;; \
742         esac; \
743         for file in $$dist_files; do \
744           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
745           if test -d $$d/$$file; then \
746             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
747             if test -d "$(distdir)/$$file"; then \
748               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
749             fi; \
750             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
751               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
752               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
753             fi; \
754             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
755           else \
756             test -f "$(distdir)/$$file" \
757             || cp -p $$d/$$file "$(distdir)/$$file" \
758             || exit 1; \
759           fi; \
760         done
761 check-am: all-am
762         $(MAKE) $(AM_MAKEFLAGS) check-local
763 check: check-am
764 all-am: Makefile $(LTLIBRARIES) $(HEADERS) all-local
765 installdirs:
766         for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscisymbol_la_includedir)"; do \
767           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
768         done
769 install: install-am
770 install-exec: install-exec-am
771 install-data: install-data-am
772 uninstall: uninstall-am
773
774 install-am: all-am
775         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
776
777 installcheck: installcheck-am
778 install-strip:
779         if test -z '$(STRIP)'; then \
780           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
781             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
782               install; \
783         else \
784           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
785             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
786             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
787         fi
788 mostlyclean-generic:
789
790 clean-generic:
791
792 distclean-generic:
793         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
794         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
795
796 maintainer-clean-generic:
797         @echo "This command is intended for maintainers to use"
798         @echo "it deletes files that may require special tools to rebuild."
799 clean: clean-am
800
801 clean-am: clean-generic clean-libtool clean-local \
802         clean-pkglibLTLIBRARIES mostlyclean-am
803
804 distclean: distclean-am
805         -rm -rf ./$(DEPDIR)
806         -rm -f Makefile
807 distclean-am: clean-am distclean-compile distclean-generic \
808         distclean-local distclean-tags
809
810 dvi: dvi-am
811
812 dvi-am:
813
814 html: html-am
815
816 html-am:
817
818 info: info-am
819
820 info-am:
821
822 install-data-am: install-data-local \
823         install-libscisymbol_la_includeHEADERS
824
825 install-dvi: install-dvi-am
826
827 install-dvi-am:
828
829 install-exec-am: install-pkglibLTLIBRARIES
830
831 install-html: install-html-am
832
833 install-html-am: install-html-local
834
835 install-info: install-info-am
836
837 install-info-am:
838
839 install-man:
840
841 install-pdf: install-pdf-am
842
843 install-pdf-am:
844
845 install-ps: install-ps-am
846
847 install-ps-am:
848
849 installcheck-am:
850
851 maintainer-clean: maintainer-clean-am
852         -rm -rf ./$(DEPDIR)
853         -rm -f Makefile
854 maintainer-clean-am: distclean-am maintainer-clean-generic
855
856 mostlyclean: mostlyclean-am
857
858 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
859         mostlyclean-libtool
860
861 pdf: pdf-am
862
863 pdf-am:
864
865 ps: ps-am
866
867 ps-am:
868
869 uninstall-am: uninstall-libscisymbol_la_includeHEADERS \
870         uninstall-pkglibLTLIBRARIES
871
872 .MAKE: check-am install-am install-strip
873
874 .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
875         clean clean-generic clean-libtool clean-local \
876         clean-pkglibLTLIBRARIES ctags distclean distclean-compile \
877         distclean-generic distclean-libtool distclean-local \
878         distclean-tags distdir dvi dvi-am html html-am info info-am \
879         install install-am install-data install-data-am \
880         install-data-local install-dvi install-dvi-am install-exec \
881         install-exec-am install-html install-html-am \
882         install-html-local install-info install-info-am \
883         install-libscisymbol_la_includeHEADERS install-man install-pdf \
884         install-pdf-am install-pkglibLTLIBRARIES install-ps \
885         install-ps-am install-strip installcheck installcheck-am \
886         installdirs maintainer-clean maintainer-clean-generic \
887         mostlyclean mostlyclean-compile mostlyclean-generic \
888         mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
889         uninstall-am uninstall-libscisymbol_la_includeHEADERS \
890         uninstall-pkglibLTLIBRARIES
891
892
893 # This target enables tests for Scilab
894 check-local: $(top_builddir)/scilab-bin test
895         if test -d $(mydatadir)/tests; then \
896           @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
897         fi
898 check-code:
899         if test -f build.xml; then \
900                 $(ANT) checkstyle; \
901         fi
902         if test -x "$(SPLINT)"; then \
903                 $(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); \
904         fi
905 @NEED_JAVA_TRUE@java:
906 # Some configurations needs to export JAVA_HOME in the current env
907 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
908 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
909 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
910 @NEED_JAVA_TRUE@                $(ANT); \
911 @NEED_JAVA_TRUE@        fi
912
913 @NEED_JAVA_TRUE@clean-java:
914 # Some configurations needs to export JAVA_HOME in the current env
915 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
916 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
917 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
918 @NEED_JAVA_TRUE@                $(ANT) clean; \
919 @NEED_JAVA_TRUE@        fi;
920
921 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
922 # We call the target swig-build on the variable SWIG_WRAPPERS
923
924 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
925 @SWIG_TRUE@     @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
926 @SWIG_TRUE@     SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
927 @SWIG_TRUE@     if test -n "$(SWIG_WRAPPERS)"; then \
928 @SWIG_TRUE@             for file in $(SWIG_WRAPPERS) ; do \
929 @SWIG_TRUE@                     echo "Swig process of $$file ..."; \
930 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
931 @SWIG_TRUE@             done; \
932 @SWIG_TRUE@     fi
933
934 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
935 # We call the target swig-build on the variable SWIG_WRAPPERS
936
937 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
938 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
939 @GIWS_TRUE@     if test -n "$(GIWS_WRAPPERS)"; then \
940 @GIWS_TRUE@             for file in $(GIWS_WRAPPERS) ; do \
941 @GIWS_TRUE@                     echo "GIWS process of $$file ..."; \
942 @GIWS_TRUE@                     $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
943 @GIWS_TRUE@             done; \
944 @GIWS_TRUE@     fi
945
946 @GIWS_TRUE@giws-exception:
947 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
948 @GIWS_TRUE@     echo "GIWS: Generation of exception class ..."; \
949 @GIWS_TRUE@     $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR 
950
951 macros:
952         -@( if test ! -x $(top_builddir)/scilab-bin; then \
953                 echo "Error : Cannot build $< : Scilab has not been built"; \
954         else \
955                 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
956         fi)
957
958 # Removes the macros
959 clean-macros:
960 # Removes macros (*.bin generated from .sci)
961         @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
962                 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
963                 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
964         done
965
966 test:
967 # More tests could be added here
968         @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
969         if test -f build.xml -a $$USEANT -eq 1; then \
970                 $(ANT) test; \
971         fi
972
973 all-local: $(TARGETS_ALL)
974
975 .sci.bin:
976         -@( if test ! -x $(top_builddir)/scilab-bin; then \
977         echo "Error : Cannot build $< : Scilab has not been build"; \
978         else \
979         echo "Creating $@"; \
980         $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
981         fi )
982
983 install-html-local:
984
985 install-data-local-local:
986 # Mainly for javasci
987         @if test -d $(srcdir)/javadoc; then \
988                 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
989         fi
990 # If the user wants the help sources to be installed
991 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
992 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
993 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/$$lang; then \
994 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
995 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
996 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
997 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
998 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
999 @INSTALL_HELP_XML_TRUE@           done ; \
1000 @INSTALL_HELP_XML_TRUE@         fi; \
1001 @INSTALL_HELP_XML_TRUE@  fi; \
1002 @INSTALL_HELP_XML_TRUE@ done; \
1003 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
1004 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/mml/; then \
1005 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
1006 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
1007 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
1008 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
1009 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
1010 @INSTALL_HELP_XML_TRUE@           done ; \
1011 @INSTALL_HELP_XML_TRUE@         fi; \
1012 @INSTALL_HELP_XML_TRUE@ fi
1013 install-data-local:
1014 # Install the tests
1015         @echo "-------- Install tests (if any) --------"; \
1016         for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
1017           if test -d $(srcdir)/$$dir/; then \
1018             $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1019                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1020                     if test -d "$(srcdir)/$$dir/$$file"; then \
1021                           echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
1022                           $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
1023                     else \
1024                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1025                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1026                     fi \
1027                   done; \
1028           fi; \
1029         done
1030 # Install the help chapter
1031         @echo "-------- Install the help chapter (if any) --------"; \
1032         for lang in $(HELP_CHAPTERLANG); do \
1033                 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
1034                 if test -f $$HELPFILE; then \
1035                         echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1036                         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1037                         echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1038                         $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1039                 fi; \
1040         done
1041 # Install the demos & examples
1042         @echo "-------- Install demos & examples (if any) --------"; \
1043         for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
1044           if test -d $(srcdir)/$$dir/; then \
1045             $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
1046                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1047                     if test -d "$(srcdir)/$$dir/$$file"; then \
1048                           echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
1049                           $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
1050                     else \
1051                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1052                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1053                     fi \
1054                   done; \
1055           fi; \
1056         done
1057 # Install the macros
1058         @echo "-------- Install macros (if any) --------"; \
1059         for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1060           $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1061                 if test -d $(srcdir)/$$dir/; then \
1062                         FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
1063                         if test -n "$(MACROSSPECIALEXT)"; then \
1064                                 specialExtDir=""; \
1065                                 for specialExt in $(MACROSSPECIALEXT); do \
1066                                         specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
1067                                 done; \
1068                                 FILELIST="$$FILELIST $$specialExtDir"; \
1069                         fi; \
1070                   for file in `ls -1 $$FILELIST 2>/dev/null`; do \
1071                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
1072                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
1073                   done; \
1074                 fi; \
1075         done
1076 # Install java files (.jar)
1077         @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
1078         echo "-------- Install jar files --------"; \
1079     $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
1080           for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
1081                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
1082                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
1083           done ; \
1084         fi
1085
1086 ########### CLEAN ###################
1087 # Clean help (generated automatically by Scilab)
1088 # It used to clean the macro (clean-macros) but this was causing
1089 # make clean && make to fail Scilab startup
1090 @NEED_JAVA_TRUE@clean-local: clean-java
1091 @NEED_JAVA_FALSE@clean-local:
1092
1093 distclean-local:
1094         rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
1095
1096 .PHONY: macros java swig giws
1097
1098 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1099 # Otherwise a system limit (for SysV at least) may be exceeded.
1100 .NOEXPORT: