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