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