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