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