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