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