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