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