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