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