Fix OSX compilation problems
[scilab.git] / scilab / modules / sound / 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) 2006 - INRIA - Sylvestre Ledru <sylvestre.ledru@inria.fr>
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/sound
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)$(libscisound_la_etcdir)" \
173         "$(DESTDIR)$(libscisound_la_rootdir)" \
174         "$(DESTDIR)$(libscisound_la_sci_gatewaydir)"
175 LTLIBRARIES = $(pkglib_LTLIBRARIES)
176 libscisound_la_LIBADD =
177 am__dirstamp = $(am__leading_dot)dirstamp
178 am__objects_1 = sci_gateway/c/libscisound_la-sci_beep.lo \
179         sci_gateway/c/libscisound_la-sci_PlaySound.lo
180 am_libscisound_la_OBJECTS = $(am__objects_1)
181 libscisound_la_OBJECTS = $(am_libscisound_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 AM_V_P = $(am__v_P_@AM_V@)
187 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
188 am__v_P_0 = false
189 am__v_P_1 = :
190 AM_V_GEN = $(am__v_GEN_@AM_V@)
191 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
192 am__v_GEN_0 = @echo "  GEN     " $@;
193 am__v_GEN_1 = 
194 AM_V_at = $(am__v_at_@AM_V@)
195 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
196 am__v_at_0 = @
197 am__v_at_1 = 
198 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
199 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
200 am__depfiles_maybe = depfiles
201 am__mv = mv -f
202 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
203         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
204 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
205         $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
206         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
207         $(AM_CFLAGS) $(CFLAGS)
208 AM_V_CC = $(am__v_CC_@AM_V@)
209 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
210 am__v_CC_0 = @echo "  CC      " $@;
211 am__v_CC_1 = 
212 CCLD = $(CC)
213 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
214         $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
215         $(AM_LDFLAGS) $(LDFLAGS) -o $@
216 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
217 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
218 am__v_CCLD_0 = @echo "  CCLD    " $@;
219 am__v_CCLD_1 = 
220 SOURCES = $(libscisound_la_SOURCES)
221 DIST_SOURCES = $(libscisound_la_SOURCES)
222 am__can_run_installinfo = \
223   case $$AM_UPDATE_INFO_DIR in \
224     n|no|NO) false;; \
225     *) (install-info --version) >/dev/null 2>&1;; \
226   esac
227 DATA = $(libscisound_la_etc_DATA) $(libscisound_la_root_DATA) \
228         $(libscisound_la_sci_gateway_DATA)
229 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
230 # Read a list of newline-separated strings from the standard input,
231 # and print each of them once, without duplicates.  Input order is
232 # *not* preserved.
233 am__uniquify_input = $(AWK) '\
234   BEGIN { nonempty = 0; } \
235   { items[$$0] = 1; nonempty = 1; } \
236   END { if (nonempty) { for (i in items) print i; }; } \
237 '
238 # Make sure the list of sources is unique.  This is necessary because,
239 # e.g., the same source file might be shared among _SOURCES variables
240 # for different programs/libraries.
241 am__define_uniq_tagged_files = \
242   list='$(am__tagged_files)'; \
243   unique=`for i in $$list; do \
244     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
245   done | $(am__uniquify_input)`
246 ETAGS = etags
247 CTAGS = ctags
248 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am \
249         $(top_srcdir)/config/depcomp \
250         $(top_srcdir)/config/mkinstalldirs
251 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
252 ACLOCAL = @ACLOCAL@
253 ALL_LINGUAS = @ALL_LINGUAS@
254 ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
255 AMTAR = @AMTAR@
256 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
257 ANT = @ANT@
258 ANTLR = @ANTLR@
259 AR = @AR@
260 ARPACK_LIBS = @ARPACK_LIBS@
261 ASM3 = @ASM3@
262 AUTOCONF = @AUTOCONF@
263 AUTOHEADER = @AUTOHEADER@
264 AUTOMAKE = @AUTOMAKE@
265 AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
266 AWK = @AWK@
267 BATIK = @BATIK@
268 BLAS_CFLAGS = @BLAS_CFLAGS@
269 BLAS_LIBS = @BLAS_LIBS@
270 CC = @CC@
271 CCACHE = @CCACHE@
272 CCDEPMODE = @CCDEPMODE@
273 CFLAGS = @CFLAGS@
274 CHECKSTYLE = @CHECKSTYLE@
275 COBERTURA = @COBERTURA@
276 COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
277 COMMONS_IO = @COMMONS_IO@
278 COMMONS_LOGGING = @COMMONS_LOGGING@
279 CPP = @CPP@
280 CPPFLAGS = @CPPFLAGS@
281 CURL_CFLAGS = @CURL_CFLAGS@
282 CURL_CONFIG = @CURL_CONFIG@
283 CURL_LIBS = @CURL_LIBS@
284 CURL_VERSION = @CURL_VERSION@
285 CXX = @CXX@
286 CXXCPP = @CXXCPP@
287 CXXDEPMODE = @CXXDEPMODE@
288 CXXFLAGS = @CXXFLAGS@
289 CYGPATH_W = @CYGPATH_W@
290 DEFS = @DEFS@
291 DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
292 DEPDIR = @DEPDIR@
293 DLLTOOL = @DLLTOOL@
294 DOCBOOK_ROOT = @DOCBOOK_ROOT@
295 DOXYGEN_BIN = @DOXYGEN_BIN@
296 DSYMUTIL = @DSYMUTIL@
297 DUMPBIN = @DUMPBIN@
298 ECHO_C = @ECHO_C@
299 ECHO_N = @ECHO_N@
300 ECHO_T = @ECHO_T@
301 ECJ = @ECJ@
302 EGREP = @EGREP@
303 EIGEN_CPPFLAGS = @EIGEN_CPPFLAGS@
304 EXEEXT = @EXEEXT@
305 F77 = @F77@
306 FFLAGS = @FFLAGS@
307 FFTW3_LIB = @FFTW3_LIB@
308 FFTW_ENABLE = @FFTW_ENABLE@
309 FGREP = @FGREP@
310 FLEXDOCK = @FLEXDOCK@
311 FLIBS = @FLIBS@
312 FOP = @FOP@
313 FREEHEP_GRAPHICS2D = @FREEHEP_GRAPHICS2D@
314 FREEHEP_GRAPHICSIO = @FREEHEP_GRAPHICSIO@
315 FREEHEP_GRAPHICSIO_EMF = @FREEHEP_GRAPHICSIO_EMF@
316 FREEHEP_IO = @FREEHEP_IO@
317 FREEHEP_UTIL = @FREEHEP_UTIL@
318 GENHTML = @GENHTML@
319 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
320 GIWS_BIN = @GIWS_BIN@
321 GLUEGEN2_RT = @GLUEGEN2_RT@
322 GMSGFMT = @GMSGFMT@
323 GMSGFMT_015 = @GMSGFMT_015@
324 GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
325 GREP = @GREP@
326 GUI_ENABLE = @GUI_ENABLE@
327 HAMCREST = @HAMCREST@
328 HAVE_CXX11 = @HAVE_CXX11@
329 HDF5_CFLAGS = @HDF5_CFLAGS@
330 HDF5_LIBS = @HDF5_LIBS@
331 HELP_ENABLE = @HELP_ENABLE@
332 INSTALL = @INSTALL@
333 INSTALL_DATA = @INSTALL_DATA@
334 INSTALL_PROGRAM = @INSTALL_PROGRAM@
335 INSTALL_SCRIPT = @INSTALL_SCRIPT@
336 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
337 INTLLIBS = @INTLLIBS@
338 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
339 JAR = @JAR@
340 JAVA = @JAVA@
341 JAVAC = @JAVAC@
342 JAVAC_DEBUG = @JAVAC_DEBUG@
343 JAVADOC = @JAVADOC@
344 JAVAH = @JAVAH@
345 JAVASCI_ENABLE = @JAVASCI_ENABLE@
346 JAVA_ENABLE = @JAVA_ENABLE@
347 JAVA_G = @JAVA_G@
348 JAVA_HOME = @JAVA_HOME@
349 JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
350 JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
351 JDB = @JDB@
352 JEUCLID_CORE = @JEUCLID_CORE@
353 JGRAPHX = @JGRAPHX@
354 JHALL = @JHALL@
355 JLATEXMATH = @JLATEXMATH@
356 JLATEXMATH_FOP = @JLATEXMATH_FOP@
357 JOGL2 = @JOGL2@
358 JROSETTA_API = @JROSETTA_API@
359 JROSETTA_ENGINE = @JROSETTA_ENGINE@
360 JUNIT4 = @JUNIT4@
361 LAPACK_LIBS = @LAPACK_LIBS@
362 LCOV = @LCOV@
363 LD = @LD@
364 LDFLAGS = @LDFLAGS@
365 LEX = @LEX@
366 LEXLIB = @LEXLIB@
367 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
368 LIBICONV = @LIBICONV@
369 LIBINTL = @LIBINTL@
370 LIBM = @LIBM@
371 LIBOBJS = @LIBOBJS@
372 LIBS = @LIBS@
373 LIBTOOL = @LIBTOOL@
374 LIPO = @LIPO@
375 LN_S = @LN_S@
376 LOGGING_LEVEL = @LOGGING_LEVEL@
377 LOOKS = @LOOKS@
378 LTLIBICONV = @LTLIBICONV@
379 LTLIBINTL = @LTLIBINTL@
380 LTLIBOBJS = @LTLIBOBJS@
381 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
382 LUCENE = @LUCENE@
383 LUCENE_ANALYZER = @LUCENE_ANALYZER@
384 LUCENE_PARSER = @LUCENE_PARSER@
385 MAINT = @MAINT@
386 MAKEINFO = @MAKEINFO@
387 MANIFEST_TOOL = @MANIFEST_TOOL@
388 MATIO_CFLAGS = @MATIO_CFLAGS@
389 MATIO_ENABLE = @MATIO_ENABLE@
390 MATIO_LIBS = @MATIO_LIBS@
391 MKDIR_P = @MKDIR_P@
392 MPI_ENABLE = @MPI_ENABLE@
393 MSGCAT = @MSGCAT@
394 MSGFMT = @MSGFMT@
395 MSGFMT_015 = @MSGFMT_015@
396 MSGMERGE = @MSGMERGE@
397 NM = @NM@
398 NMEDIT = @NMEDIT@
399 OBJDUMP = @OBJDUMP@
400 OBJEXT = @OBJEXT@
401 OCAMLC = @OCAMLC@
402 OCAMLDEP = @OCAMLDEP@
403 OCAMLLEX = @OCAMLLEX@
404 OCAMLOPT = @OCAMLOPT@
405 OCAMLYACC = @OCAMLYACC@
406 OPENMPI_CC = @OPENMPI_CC@
407 OPENMPI_CFLAGS = @OPENMPI_CFLAGS@
408 OPENMPI_CXX = @OPENMPI_CXX@
409 OPENMPI_CXXFLAGS = @OPENMPI_CXXFLAGS@
410 OPENMPI_LIBS = @OPENMPI_LIBS@
411 OPENMP_CFLAGS = @OPENMP_CFLAGS@
412 OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
413 OPENMP_ENABLE = @OPENMP_ENABLE@
414 OPENMP_LIBS = @OPENMP_LIBS@
415 OTOOL = @OTOOL@
416 OTOOL64 = @OTOOL64@
417 PACKAGE = @PACKAGE@
418 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
419 PACKAGE_NAME = @PACKAGE_NAME@
420 PACKAGE_STRING = @PACKAGE_STRING@
421 PACKAGE_TARNAME = @PACKAGE_TARNAME@
422 PACKAGE_URL = @PACKAGE_URL@
423 PACKAGE_VERSION = @PACKAGE_VERSION@
424 PATH_SEPARATOR = @PATH_SEPARATOR@
425 PCRE_CFLAGS = @PCRE_CFLAGS@
426 PCRE_CONFIG = @PCRE_CONFIG@
427 PCRE_LIBS = @PCRE_LIBS@
428 PCRE_VERSION = @PCRE_VERSION@
429 PKG_CONFIG = @PKG_CONFIG@
430 POSUB = @POSUB@
431 POW_LIB = @POW_LIB@
432 PYTHON = @PYTHON@
433 RANLIB = @RANLIB@
434 RELOCATABLE = @RELOCATABLE@
435 RT_LIB = @RT_LIB@
436 SAXON = @SAXON@
437 SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
438 SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
439 SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
440 SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
441 SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
442 SCIRENDERER = @SCIRENDERER@
443 SCIRENDERER_CP = @SCIRENDERER_CP@
444 SCI_CFLAGS = @SCI_CFLAGS@
445 SCI_CXXFLAGS = @SCI_CXXFLAGS@
446 SCI_FFLAGS = @SCI_FFLAGS@
447 SCI_LDFLAGS = @SCI_LDFLAGS@
448 SED = @SED@
449 SET_MAKE = @SET_MAKE@
450 SET_RELOCATABLE = @SET_RELOCATABLE@
451 SHELL = @SHELL@
452 SKINLF = @SKINLF@
453 SPLINT = @SPLINT@
454 STRIP = @STRIP@
455 SWIG_BIN = @SWIG_BIN@
456 SWIG_JAVA = @SWIG_JAVA@
457 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
458 SWIG_SCILAB = @SWIG_SCILAB@
459 TCLTK_LIBS = @TCLTK_LIBS@
460 TCL_INC_PATH = @TCL_INC_PATH@
461 TK_INC_PATH = @TK_INC_PATH@
462 UMFPACK_CFLAGS = @UMFPACK_CFLAGS@
463 UMFPACK_ENABLE = @UMFPACK_ENABLE@
464 UMFPACK_LIB = @UMFPACK_LIB@
465 USE_NLS = @USE_NLS@
466 VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
467 VALGRIND_LIBS = @VALGRIND_LIBS@
468 VERSION = @VERSION@
469 WITH_OCAML = @WITH_OCAML@
470 WITH_TKSCI = @WITH_TKSCI@
471 XCOS_ENABLE = @XCOS_ENABLE@
472 XGETTEXT = @XGETTEXT@
473 XGETTEXT_015 = @XGETTEXT_015@
474 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
475 XMKMF = @XMKMF@
476 XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
477 XML_APIS_EXT = @XML_APIS_EXT@
478 XML_CONFIG = @XML_CONFIG@
479 XML_FLAGS = @XML_FLAGS@
480 XML_LIBS = @XML_LIBS@
481 XML_VERSION = @XML_VERSION@
482 X_CFLAGS = @X_CFLAGS@
483 X_EXTRA_LIBS = @X_EXTRA_LIBS@
484 X_LIBS = @X_LIBS@
485 X_PRE_LIBS = @X_PRE_LIBS@
486 YACC = @YACC@
487 YFLAGS = @YFLAGS@
488 abs_builddir = @abs_builddir@
489 abs_srcdir = @abs_srcdir@
490 abs_top_builddir = @abs_top_builddir@
491 abs_top_srcdir = @abs_top_srcdir@
492 ac_ct_AR = @ac_ct_AR@
493 ac_ct_CC = @ac_ct_CC@
494 ac_ct_CXX = @ac_ct_CXX@
495 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
496 ac_ct_F77 = @ac_ct_F77@
497 am__include = @am__include@
498 am__leading_dot = @am__leading_dot@
499 am__quote = @am__quote@
500 am__tar = @am__tar@
501 am__untar = @am__untar@
502 bindir = @bindir@
503 build = @build@
504 build_alias = @build_alias@
505 build_cpu = @build_cpu@
506 build_os = @build_os@
507 build_vendor = @build_vendor@
508 builddir = @builddir@
509 cxx_present = @cxx_present@
510 datadir = @datadir@
511 datarootdir = @datarootdir@
512 docdir = @docdir@
513 dvidir = @dvidir@
514 exec_prefix = @exec_prefix@
515 host = @host@
516 host_alias = @host_alias@
517 host_cpu = @host_cpu@
518 host_os = @host_os@
519 host_vendor = @host_vendor@
520 htmldir = @htmldir@
521 includedir = @includedir@
522 infodir = @infodir@
523 install_sh = @install_sh@
524 libdir = @libdir@
525 libexecdir = @libexecdir@
526 localedir = @localedir@
527 localstatedir = @localstatedir@
528 mandir = @mandir@
529 mkdir_p = @mkdir_p@
530 oldincludedir = @oldincludedir@
531 pdfdir = @pdfdir@
532 prefix = @prefix@
533 program_transform_name = @program_transform_name@
534 psdir = @psdir@
535 runstatedir = @runstatedir@
536 sbindir = @sbindir@
537 sharedstatedir = @sharedstatedir@
538 srcdir = @srcdir@
539 sysconfdir = @sysconfdir@
540 target_alias = @target_alias@
541 top_build_prefix = @top_build_prefix@
542 top_builddir = @top_builddir@
543 top_srcdir = @top_srcdir@
544 yacc_present = @yacc_present@
545 GATEWAY_C_SOURCES = \
546     sci_gateway/c/sci_beep.c \
547     sci_gateway/c/sci_PlaySound.c
548
549 libscisound_la_CPPFLAGS = \
550     -I$(srcdir)/includes/ \
551     -I$(srcdir)/src/c/ \
552     -I$(top_srcdir)/modules/ast/includes/ast/ \
553     -I$(top_srcdir)/modules/ast/includes/exps/ \
554     -I$(top_srcdir)/modules/ast/includes/operations/ \
555     -I$(top_srcdir)/modules/ast/includes/parse/ \
556     -I$(top_srcdir)/modules/ast/includes/symbol/ \
557     -I$(top_srcdir)/modules/ast/includes/system_env/ \
558     -I$(top_srcdir)/modules/ast/includes/types/ \
559     -I$(top_srcdir)/modules/ast/includes/analysis/ \
560     -I$(top_srcdir)/modules/output_stream/includes/ \
561     -I$(top_srcdir)/modules/fileio/includes \
562     -I$(top_srcdir)/modules/api_scilab/includes/ \
563     -I$(top_srcdir)/modules/localization/includes/ \
564     -I$(top_srcdir)/modules/string/includes \
565     $(AM_CPPFLAGS)
566
567 pkglib_LTLIBRARIES = libscisound.la
568 libscisound_la_SOURCES = $(GATEWAY_C_SOURCES)
569
570 # For the code check (splint)
571 CHECK_SRC = $(libscisound_la_SOURCES)
572 INCLUDE_FLAGS = $(libscisound_la_CPPFLAGS)
573
574 #### Target ######
575 modulename = sound
576
577 #### sound : Conf files ####
578 libscisound_la_rootdir = $(mydatadir)
579 libscisound_la_root_DATA = license.txt
580
581 ####�sound : init scripts ####
582 libscisound_la_etcdir = $(mydatadir)/etc
583 libscisound_la_etc_DATA = etc/sound.quit etc/sound.start
584
585 ####�sound : gateway declaration ####
586 libscisound_la_sci_gatewaydir = $(mydatadir)/sci_gateway
587 libscisound_la_sci_gateway_DATA = sci_gateway/sound_gateway.xml
588
589 ####�sound : include files ####
590 libscisound_la_includedir = $(pkgincludedir)
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/sound/Makefile'; \
678         $(am__cd) $(top_srcdir) && \
679           $(AUTOMAKE) --foreign modules/sound/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 install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
700         @$(NORMAL_INSTALL)
701         @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
702         list2=; for p in $$list; do \
703           if test -f $$p; then \
704             list2="$$list2 $$p"; \
705           else :; fi; \
706         done; \
707         test -z "$$list2" || { \
708           echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
709           $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
710           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
711           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
712         }
713
714 uninstall-pkglibLTLIBRARIES:
715         @$(NORMAL_UNINSTALL)
716         @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
717         for p in $$list; do \
718           $(am__strip_dir) \
719           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
720           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
721         done
722
723 clean-pkglibLTLIBRARIES:
724         -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
725         @list='$(pkglib_LTLIBRARIES)'; \
726         locs=`for p in $$list; do echo $$p; done | \
727               sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
728               sort -u`; \
729         test -z "$$locs" || { \
730           echo rm -f $${locs}; \
731           rm -f $${locs}; \
732         }
733 sci_gateway/c/$(am__dirstamp):
734         @$(MKDIR_P) sci_gateway/c
735         @: > sci_gateway/c/$(am__dirstamp)
736 sci_gateway/c/$(DEPDIR)/$(am__dirstamp):
737         @$(MKDIR_P) sci_gateway/c/$(DEPDIR)
738         @: > sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
739 sci_gateway/c/libscisound_la-sci_beep.lo:  \
740         sci_gateway/c/$(am__dirstamp) \
741         sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
742 sci_gateway/c/libscisound_la-sci_PlaySound.lo:  \
743         sci_gateway/c/$(am__dirstamp) \
744         sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
745
746 libscisound.la: $(libscisound_la_OBJECTS) $(libscisound_la_DEPENDENCIES) $(EXTRA_libscisound_la_DEPENDENCIES) 
747         $(AM_V_CCLD)$(LINK) -rpath $(pkglibdir) $(libscisound_la_OBJECTS) $(libscisound_la_LIBADD) $(LIBS)
748
749 mostlyclean-compile:
750         -rm -f *.$(OBJEXT)
751         -rm -f sci_gateway/c/*.$(OBJEXT)
752         -rm -f sci_gateway/c/*.lo
753
754 distclean-compile:
755         -rm -f *.tab.c
756
757 @AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscisound_la-sci_PlaySound.Plo@am__quote@
758 @AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscisound_la-sci_beep.Plo@am__quote@
759
760 .c.o:
761 @am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
762 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
763 @am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
764 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
765 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
766 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
767
768 .c.obj:
769 @am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
770 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
771 @am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
772 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
773 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
774 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
775
776 .c.lo:
777 @am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
778 @am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
779 @am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Plo
780 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
781 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
782 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
783
784 sci_gateway/c/libscisound_la-sci_beep.lo: sci_gateway/c/sci_beep.c
785 @am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisound_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscisound_la-sci_beep.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscisound_la-sci_beep.Tpo -c -o sci_gateway/c/libscisound_la-sci_beep.lo `test -f 'sci_gateway/c/sci_beep.c' || echo '$(srcdir)/'`sci_gateway/c/sci_beep.c
786 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscisound_la-sci_beep.Tpo sci_gateway/c/$(DEPDIR)/libscisound_la-sci_beep.Plo
787 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='sci_gateway/c/sci_beep.c' object='sci_gateway/c/libscisound_la-sci_beep.lo' libtool=yes @AMDEPBACKSLASH@
788 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
789 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisound_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscisound_la-sci_beep.lo `test -f 'sci_gateway/c/sci_beep.c' || echo '$(srcdir)/'`sci_gateway/c/sci_beep.c
790
791 sci_gateway/c/libscisound_la-sci_PlaySound.lo: sci_gateway/c/sci_PlaySound.c
792 @am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscisound_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscisound_la-sci_PlaySound.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscisound_la-sci_PlaySound.Tpo -c -o sci_gateway/c/libscisound_la-sci_PlaySound.lo `test -f 'sci_gateway/c/sci_PlaySound.c' || echo '$(srcdir)/'`sci_gateway/c/sci_PlaySound.c
793 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscisound_la-sci_PlaySound.Tpo sci_gateway/c/$(DEPDIR)/libscisound_la-sci_PlaySound.Plo
794 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='sci_gateway/c/sci_PlaySound.c' object='sci_gateway/c/libscisound_la-sci_PlaySound.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) $(libscisound_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscisound_la-sci_PlaySound.lo `test -f 'sci_gateway/c/sci_PlaySound.c' || echo '$(srcdir)/'`sci_gateway/c/sci_PlaySound.c
797
798 mostlyclean-libtool:
799         -rm -f *.lo
800
801 clean-libtool:
802         -rm -rf .libs _libs
803         -rm -rf sci_gateway/c/.libs sci_gateway/c/_libs
804 install-libscisound_la_etcDATA: $(libscisound_la_etc_DATA)
805         @$(NORMAL_INSTALL)
806         @list='$(libscisound_la_etc_DATA)'; test -n "$(libscisound_la_etcdir)" || list=; \
807         if test -n "$$list"; then \
808           echo " $(MKDIR_P) '$(DESTDIR)$(libscisound_la_etcdir)'"; \
809           $(MKDIR_P) "$(DESTDIR)$(libscisound_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)$(libscisound_la_etcdir)'"; \
817           $(INSTALL_DATA) $$files "$(DESTDIR)$(libscisound_la_etcdir)" || exit $$?; \
818         done
819
820 uninstall-libscisound_la_etcDATA:
821         @$(NORMAL_UNINSTALL)
822         @list='$(libscisound_la_etc_DATA)'; test -n "$(libscisound_la_etcdir)" || list=; \
823         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
824         dir='$(DESTDIR)$(libscisound_la_etcdir)'; $(am__uninstall_files_from_dir)
825 install-libscisound_la_rootDATA: $(libscisound_la_root_DATA)
826         @$(NORMAL_INSTALL)
827         @list='$(libscisound_la_root_DATA)'; test -n "$(libscisound_la_rootdir)" || list=; \
828         if test -n "$$list"; then \
829           echo " $(MKDIR_P) '$(DESTDIR)$(libscisound_la_rootdir)'"; \
830           $(MKDIR_P) "$(DESTDIR)$(libscisound_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)$(libscisound_la_rootdir)'"; \
838           $(INSTALL_DATA) $$files "$(DESTDIR)$(libscisound_la_rootdir)" || exit $$?; \
839         done
840
841 uninstall-libscisound_la_rootDATA:
842         @$(NORMAL_UNINSTALL)
843         @list='$(libscisound_la_root_DATA)'; test -n "$(libscisound_la_rootdir)" || list=; \
844         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
845         dir='$(DESTDIR)$(libscisound_la_rootdir)'; $(am__uninstall_files_from_dir)
846 install-libscisound_la_sci_gatewayDATA: $(libscisound_la_sci_gateway_DATA)
847         @$(NORMAL_INSTALL)
848         @list='$(libscisound_la_sci_gateway_DATA)'; test -n "$(libscisound_la_sci_gatewaydir)" || list=; \
849         if test -n "$$list"; then \
850           echo " $(MKDIR_P) '$(DESTDIR)$(libscisound_la_sci_gatewaydir)'"; \
851           $(MKDIR_P) "$(DESTDIR)$(libscisound_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)$(libscisound_la_sci_gatewaydir)'"; \
859           $(INSTALL_DATA) $$files "$(DESTDIR)$(libscisound_la_sci_gatewaydir)" || exit $$?; \
860         done
861
862 uninstall-libscisound_la_sci_gatewayDATA:
863         @$(NORMAL_UNINSTALL)
864         @list='$(libscisound_la_sci_gateway_DATA)'; test -n "$(libscisound_la_sci_gatewaydir)" || list=; \
865         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
866         dir='$(DESTDIR)$(libscisound_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)$(libscisound_la_etcdir)" "$(DESTDIR)$(libscisound_la_rootdir)" "$(DESTDIR)$(libscisound_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 sci_gateway/c/$(DEPDIR)/$(am__dirstamp)
985         -rm -f sci_gateway/c/$(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-pkglibLTLIBRARIES mostlyclean-am
994
995 distclean: distclean-am
996         -rm -rf sci_gateway/c/$(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 install-libscisound_la_etcDATA \
1014         install-libscisound_la_rootDATA \
1015         install-libscisound_la_sci_gatewayDATA
1016
1017 install-dvi: install-dvi-am
1018
1019 install-dvi-am:
1020
1021 install-exec-am: install-pkglibLTLIBRARIES
1022
1023 install-html: install-html-am
1024
1025 install-html-am: install-html-local
1026
1027 install-info: install-info-am
1028
1029 install-info-am:
1030
1031 install-man:
1032
1033 install-pdf: install-pdf-am
1034
1035 install-pdf-am:
1036
1037 install-ps: install-ps-am
1038
1039 install-ps-am:
1040
1041 installcheck-am:
1042
1043 maintainer-clean: maintainer-clean-am
1044         -rm -rf sci_gateway/c/$(DEPDIR)
1045         -rm -f Makefile
1046 maintainer-clean-am: distclean-am maintainer-clean-generic
1047
1048 mostlyclean: mostlyclean-am
1049
1050 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1051         mostlyclean-libtool
1052
1053 pdf: pdf-am
1054
1055 pdf-am:
1056
1057 ps: ps-am
1058
1059 ps-am:
1060
1061 uninstall-am: uninstall-libscisound_la_etcDATA \
1062         uninstall-libscisound_la_rootDATA \
1063         uninstall-libscisound_la_sci_gatewayDATA \
1064         uninstall-pkglibLTLIBRARIES
1065
1066 .MAKE: check-am install-am install-strip
1067
1068 .PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am \
1069         check-local clean clean-generic clean-libtool clean-local \
1070         clean-pkglibLTLIBRARIES cscopelist-am ctags ctags-am distclean \
1071         distclean-compile distclean-generic distclean-libtool \
1072         distclean-local distclean-tags distdir dvi dvi-am html html-am \
1073         info info-am install install-am install-data install-data-am \
1074         install-data-local install-dvi install-dvi-am install-exec \
1075         install-exec-am install-html install-html-am \
1076         install-html-local install-info install-info-am \
1077         install-libscisound_la_etcDATA install-libscisound_la_rootDATA \
1078         install-libscisound_la_sci_gatewayDATA install-man install-pdf \
1079         install-pdf-am install-pkglibLTLIBRARIES install-ps \
1080         install-ps-am install-strip installcheck installcheck-am \
1081         installdirs maintainer-clean maintainer-clean-generic \
1082         mostlyclean mostlyclean-compile mostlyclean-generic \
1083         mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
1084         uninstall-am uninstall-libscisound_la_etcDATA \
1085         uninstall-libscisound_la_rootDATA \
1086         uninstall-libscisound_la_sci_gatewayDATA \
1087         uninstall-pkglibLTLIBRARIES
1088
1089 .PRECIOUS: Makefile
1090
1091
1092 # This target enables tests for Scilab
1093 check-local: $(top_builddir)/scilab-bin test
1094         if test -d $(mydatadir)/tests; then \
1095           @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
1096         fi
1097 check-code:
1098         if test -f build.xml; then \
1099                 $(ANT) checkstyle; \
1100         fi
1101         if test -x "$(SPLINT)"; then \
1102                 $(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); \
1103         fi
1104 @NEED_JAVA_TRUE@java:
1105 # Some configurations needs to export JAVA_HOME in the current env
1106 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
1107 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1108 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
1109 @NEED_JAVA_TRUE@                $(ANT); \
1110 @NEED_JAVA_TRUE@        fi
1111
1112 @NEED_JAVA_TRUE@clean-java:
1113 # Some configurations needs to export JAVA_HOME in the current env
1114 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
1115 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1116 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
1117 @NEED_JAVA_TRUE@                $(ANT) clean; \
1118 @NEED_JAVA_TRUE@        fi;
1119
1120 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
1121 # We call the target swig-build on the variable SWIG_WRAPPERS
1122
1123 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
1124 @SWIG_TRUE@     @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
1125 @SWIG_TRUE@     SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
1126 @SWIG_TRUE@     if test -n "$(SWIG_WRAPPERS)"; then \
1127 @SWIG_TRUE@             for file in $(SWIG_WRAPPERS) ; do \
1128 @SWIG_TRUE@                     echo "Swig process of $$file (Java) ..."; \
1129 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
1130 @SWIG_TRUE@             done; \
1131 @SWIG_TRUE@     fi
1132
1133 @SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS)
1134 @SWIG_TRUE@     @SWIG_OUTDIR=src/swig/; \
1135 @SWIG_TRUE@     if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
1136 @SWIG_TRUE@             for file in $(SWIG_SCILAB_WRAPPERS) ; do \
1137 @SWIG_TRUE@                     echo "Swig process of $$file (Scilab) ..."; \
1138 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_SCILAB)  -outdir $$SWIG_OUTDIR $$file; \
1139 @SWIG_TRUE@             done; \
1140 @SWIG_TRUE@     fi
1141
1142 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
1143 # We call the target swig-build on the variable SWIG_WRAPPERS
1144
1145 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
1146 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/; \
1147 @GIWS_TRUE@     MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
1148 @GIWS_TRUE@     if test -n "$(GIWS_WRAPPERS)"; then \
1149 @GIWS_TRUE@             for file in $(GIWS_WRAPPERS) ; do \
1150 @GIWS_TRUE@                     echo "GIWS process of $$file ..."; \
1151 @GIWS_TRUE@                     if test -z "$(GIWS_OPTIONS)"; then \
1152 @GIWS_TRUE@                             $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
1153 @GIWS_TRUE@                     else \
1154 @GIWS_TRUE@                             echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
1155 @GIWS_TRUE@                             $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
1156 @GIWS_TRUE@                     fi \
1157 @GIWS_TRUE@             done; \
1158 @GIWS_TRUE@     fi
1159
1160 @GIWS_TRUE@giws-exception:
1161 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
1162 @GIWS_TRUE@     echo "GIWS: Generation of exception class ..."; \
1163 @GIWS_TRUE@     $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR 
1164
1165 macros:
1166         -@( if test ! -x $(top_builddir)/scilab-bin; then \
1167                 echo "Error : Cannot build $< : Scilab has not been built"; \
1168         else \
1169                 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
1170         fi)
1171
1172 # Removes the macros
1173 clean-macros:
1174 # Removes macros (*.bin generated from .sci)
1175         @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1176                 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
1177                 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
1178         done
1179
1180 test:
1181 # More tests could be added here
1182         @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1183         if test -f build.xml -a $$USEANT -eq 1; then \
1184                 $(ANT) test; \
1185         fi
1186
1187 all-local: $(TARGETS_ALL)
1188
1189 .sci.bin:
1190         -@( if test ! -x $(top_builddir)/scilab-bin; then \
1191         echo "Error : Cannot build $< : Scilab has not been build"; \
1192         else \
1193         echo "Creating $@"; \
1194         $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
1195         fi )
1196
1197 install-html-local:
1198
1199 install-data-local-local:
1200 # Mainly for javasci
1201         @if test -d $(srcdir)/javadoc; then \
1202                 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
1203         fi
1204 # If the user wants the help sources to be installed
1205 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
1206 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
1207 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/$$lang; then \
1208 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
1209 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
1210 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
1211 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
1212 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
1213 @INSTALL_HELP_XML_TRUE@           done ; \
1214 @INSTALL_HELP_XML_TRUE@         fi; \
1215 @INSTALL_HELP_XML_TRUE@  fi; \
1216 @INSTALL_HELP_XML_TRUE@ done; \
1217 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
1218 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/mml/; then \
1219 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
1220 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
1221 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
1222 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
1223 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
1224 @INSTALL_HELP_XML_TRUE@           done ; \
1225 @INSTALL_HELP_XML_TRUE@         fi; \
1226 @INSTALL_HELP_XML_TRUE@ fi
1227 install-data-local:
1228 # Install the tests
1229         @echo "-------- Install tests (if any) --------"; \
1230         for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
1231           if test -d $(srcdir)/$$dir/; then \
1232             $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1233                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1234                     if test -d "$(srcdir)/$$dir/$$file"; then \
1235                           echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
1236                           $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
1237                     else \
1238                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1239                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1240                     fi \
1241                   done; \
1242           fi; \
1243         done
1244 # Install the help chapter
1245         @echo "-------- Install the help chapter (if any) --------"; \
1246         for lang in $(HELP_CHAPTERLANG); do \
1247                 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
1248                 if test -f $$HELPFILE; then \
1249                         echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1250                         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1251                         echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1252                         $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1253                 fi; \
1254         done
1255 # Install the demos & examples
1256         @echo "-------- Install demos & examples (if any) --------"; \
1257         for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
1258           if test -d $(srcdir)/$$dir/; then \
1259             $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
1260                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1261                     if test -d "$(srcdir)/$$dir/$$file"; then \
1262                           echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
1263                           $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
1264                     else \
1265                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1266                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1267                     fi \
1268                   done; \
1269           fi; \
1270         done
1271 # Install the macros
1272         @echo "-------- Install macros (if any) --------"; \
1273         for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1274           $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1275                 if test -d $(srcdir)/$$dir/; then \
1276                         FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
1277                         if test -n "$(MACROSSPECIALEXT)"; then \
1278                                 specialExtDir=""; \
1279                                 for specialExt in $(MACROSSPECIALEXT); do \
1280                                         specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
1281                                 done; \
1282                                 FILELIST="$$FILELIST $$specialExtDir"; \
1283                         fi; \
1284                   for file in `ls -1 $$FILELIST 2>/dev/null`; do \
1285                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
1286                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
1287                   done; \
1288                 fi; \
1289         done
1290 # Install java files (.jar)
1291         @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
1292         echo "-------- Install jar files --------"; \
1293     $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
1294           for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
1295                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
1296                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
1297           done ; \
1298         fi
1299
1300 ########### CLEAN ###################
1301 # Clean help (generated automatically by Scilab)
1302 # It used to clean the macro (clean-macros) but this was causing
1303 # make clean && make to fail Scilab startup
1304 @NEED_JAVA_TRUE@clean-local: clean-java
1305 @NEED_JAVA_FALSE@clean-local:
1306
1307 distclean-local:
1308         rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
1309
1310 .PHONY: macros java swig giws
1311
1312 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1313 # Otherwise a system limit (for SysV at least) may be exceeded.
1314 .NOEXPORT: