Compilation: link against valgrind if detected
[scilab.git] / scilab / modules / prebuildjava / Makefile.in
1 # Makefile.in generated by automake 1.15 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2014 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 #
18 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
19 # Copyright (C) Scilab Enterprises - 2011 - Sylvestre Ledru
20 #
21 # This file must be used under the terms of the CeCILL.
22 # This source file is licensed as described in the file COPYING, which
23 # you should have received as part of this distribution.  The terms
24 # are also available at
25 # http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
26 #
27
28 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
29 # Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
30 # Copyright (C) 2008      - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
31 #
32 # This file must be used under the terms of the CeCILL.
33 # This source file is licensed as described in the file COPYING, which
34 # you should have received as part of this distribution.  The terms
35 # are also available at
36 # http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
37 #
38
39 ##########
40 ### Makefile included stuff
41 ### Target, variable, suffixes which are supposed to be useful in every makefile.am
42 ##########
43 VPATH = @srcdir@
44 am__is_gnu_make = { \
45   if test -z '$(MAKELEVEL)'; then \
46     false; \
47   elif test -n '$(MAKE_HOST)'; then \
48     true; \
49   elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
50     true; \
51   else \
52     false; \
53   fi; \
54 }
55 am__make_running_with_option = \
56   case $${target_option-} in \
57       ?) ;; \
58       *) echo "am__make_running_with_option: internal error: invalid" \
59               "target option '$${target_option-}' specified" >&2; \
60          exit 1;; \
61   esac; \
62   has_opt=no; \
63   sane_makeflags=$$MAKEFLAGS; \
64   if $(am__is_gnu_make); then \
65     sane_makeflags=$$MFLAGS; \
66   else \
67     case $$MAKEFLAGS in \
68       *\\[\ \   ]*) \
69         bs=\\; \
70         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
71           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
72     esac; \
73   fi; \
74   skip_next=no; \
75   strip_trailopt () \
76   { \
77     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
78   }; \
79   for flg in $$sane_makeflags; do \
80     test $$skip_next = yes && { skip_next=no; continue; }; \
81     case $$flg in \
82       *=*|--*) continue;; \
83         -*I) strip_trailopt 'I'; skip_next=yes;; \
84       -*I?*) strip_trailopt 'I';; \
85         -*O) strip_trailopt 'O'; skip_next=yes;; \
86       -*O?*) strip_trailopt 'O';; \
87         -*l) strip_trailopt 'l'; skip_next=yes;; \
88       -*l?*) strip_trailopt 'l';; \
89       -[dEDm]) skip_next=yes;; \
90       -[JT]) skip_next=yes;; \
91     esac; \
92     case $$flg in \
93       *$$target_option*) has_opt=yes; break;; \
94     esac; \
95   done; \
96   test $$has_opt = yes
97 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
98 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
99 pkgdatadir = $(datadir)/@PACKAGE@
100 pkgincludedir = $(includedir)/@PACKAGE@
101 pkglibdir = $(libdir)/@PACKAGE@
102 pkglibexecdir = $(libexecdir)/@PACKAGE@
103 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
104 install_sh_DATA = $(install_sh) -c -m 644
105 install_sh_PROGRAM = $(install_sh) -c
106 install_sh_SCRIPT = $(install_sh) -c
107 INSTALL_HEADER = $(INSTALL_DATA)
108 transform = $(program_transform_name)
109 NORMAL_INSTALL = :
110 PRE_INSTALL = :
111 POST_INSTALL = :
112 NORMAL_UNINSTALL = :
113 PRE_UNINSTALL = :
114 POST_UNINSTALL = :
115 build_triplet = @build@
116 host_triplet = @host@
117 @NEED_JAVA_TRUE@am__append_1 = java
118 subdir = modules/prebuildjava
119 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
120 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cxx_compile_stdcxx_11.m4 \
121         $(top_srcdir)/m4/backtrace.m4 $(top_srcdir)/m4/compiler.m4 \
122         $(top_srcdir)/m4/curl.m4 $(top_srcdir)/m4/docbook.m4 \
123         $(top_srcdir)/m4/doxygen.m4 $(top_srcdir)/m4/eigen.m4 \
124         $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
125         $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
126         $(top_srcdir)/m4/intel_compiler.m4 \
127         $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
128         $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
129         $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
130         $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
131         $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
132         $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
133         $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \
134         $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \
135         $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \
136         $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \
137         $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac
138 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
139         $(ACLOCAL_M4)
140 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
141 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
142 CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
143 CONFIG_CLEAN_FILES =
144 CONFIG_CLEAN_VPATH_FILES =
145 AM_V_P = $(am__v_P_@AM_V@)
146 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
147 am__v_P_0 = false
148 am__v_P_1 = :
149 AM_V_GEN = $(am__v_GEN_@AM_V@)
150 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
151 am__v_GEN_0 = @echo "  GEN     " $@;
152 am__v_GEN_1 = 
153 AM_V_at = $(am__v_at_@AM_V@)
154 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
155 am__v_at_0 = @
156 am__v_at_1 = 
157 SOURCES =
158 DIST_SOURCES =
159 am__can_run_installinfo = \
160   case $$AM_UPDATE_INFO_DIR in \
161     n|no|NO) false;; \
162     *) (install-info --version) >/dev/null 2>&1;; \
163   esac
164 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
165 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am \
166         $(top_srcdir)/config/mkinstalldirs
167 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
168 ACLOCAL = @ACLOCAL@
169 ALL_LINGUAS = @ALL_LINGUAS@
170 ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
171 AMTAR = @AMTAR@
172 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
173 ANT = @ANT@
174 ANTLR = @ANTLR@
175 AR = @AR@
176 ARPACK_LIBS = @ARPACK_LIBS@
177 ASM3 = @ASM3@
178 AUTOCONF = @AUTOCONF@
179 AUTOHEADER = @AUTOHEADER@
180 AUTOMAKE = @AUTOMAKE@
181 AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
182 AWK = @AWK@
183 BATIK = @BATIK@
184 BLAS_LIBS = @BLAS_LIBS@
185 CC = @CC@
186 CCACHE = @CCACHE@
187 CCDEPMODE = @CCDEPMODE@
188 CFLAGS = @CFLAGS@
189 CHECKSTYLE = @CHECKSTYLE@
190 COBERTURA = @COBERTURA@
191 COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
192 COMMONS_IO = @COMMONS_IO@
193 COMMONS_LOGGING = @COMMONS_LOGGING@
194 CPP = @CPP@
195 CPPFLAGS = @CPPFLAGS@
196 CURL_CFLAGS = @CURL_CFLAGS@
197 CURL_CONFIG = @CURL_CONFIG@
198 CURL_LIBS = @CURL_LIBS@
199 CURL_VERSION = @CURL_VERSION@
200 CXX = @CXX@
201 CXXCPP = @CXXCPP@
202 CXXDEPMODE = @CXXDEPMODE@
203 CXXFLAGS = @CXXFLAGS@
204 CYGPATH_W = @CYGPATH_W@
205 DEFS = @DEFS@
206 DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
207 DEPDIR = @DEPDIR@
208 DLLTOOL = @DLLTOOL@
209 DOCBOOK_ROOT = @DOCBOOK_ROOT@
210 DOXYGEN_BIN = @DOXYGEN_BIN@
211 DSYMUTIL = @DSYMUTIL@
212 DUMPBIN = @DUMPBIN@
213 ECHO_C = @ECHO_C@
214 ECHO_N = @ECHO_N@
215 ECHO_T = @ECHO_T@
216 ECJ = @ECJ@
217 EGREP = @EGREP@
218 EIGEN_CPPFLAGS = @EIGEN_CPPFLAGS@
219 EXEEXT = @EXEEXT@
220 F77 = @F77@
221 FFLAGS = @FFLAGS@
222 FFTW3_LIB = @FFTW3_LIB@
223 FFTW_ENABLE = @FFTW_ENABLE@
224 FGREP = @FGREP@
225 FLEXDOCK = @FLEXDOCK@
226 FLIBS = @FLIBS@
227 FOP = @FOP@
228 FREEHEP_GRAPHICS2D = @FREEHEP_GRAPHICS2D@
229 FREEHEP_GRAPHICSIO = @FREEHEP_GRAPHICSIO@
230 FREEHEP_GRAPHICSIO_EMF = @FREEHEP_GRAPHICSIO_EMF@
231 FREEHEP_IO = @FREEHEP_IO@
232 FREEHEP_UTIL = @FREEHEP_UTIL@
233 GENHTML = @GENHTML@
234 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
235 GIWS_BIN = @GIWS_BIN@
236 GLUEGEN2_RT = @GLUEGEN2_RT@
237 GMSGFMT = @GMSGFMT@
238 GMSGFMT_015 = @GMSGFMT_015@
239 GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
240 GREP = @GREP@
241 GUI_ENABLE = @GUI_ENABLE@
242 HAVE_CXX11 = @HAVE_CXX11@
243 HDF5_CFLAGS = @HDF5_CFLAGS@
244 HDF5_LIBS = @HDF5_LIBS@
245 HELP_ENABLE = @HELP_ENABLE@
246 INSTALL = @INSTALL@
247 INSTALL_DATA = @INSTALL_DATA@
248 INSTALL_PROGRAM = @INSTALL_PROGRAM@
249 INSTALL_SCRIPT = @INSTALL_SCRIPT@
250 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
251 INTLLIBS = @INTLLIBS@
252 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
253 JAR = @JAR@
254 JAVA = @JAVA@
255 JAVAC = @JAVAC@
256 JAVAC_DEBUG = @JAVAC_DEBUG@
257 JAVADOC = @JAVADOC@
258 JAVAH = @JAVAH@
259 JAVASCI_ENABLE = @JAVASCI_ENABLE@
260 JAVA_ENABLE = @JAVA_ENABLE@
261 JAVA_G = @JAVA_G@
262 JAVA_HOME = @JAVA_HOME@
263 JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
264 JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
265 JDB = @JDB@
266 JEUCLID_CORE = @JEUCLID_CORE@
267 JGRAPHX = @JGRAPHX@
268 JHALL = @JHALL@
269 JLATEXMATH = @JLATEXMATH@
270 JLATEXMATH_FOP = @JLATEXMATH_FOP@
271 JOGL2 = @JOGL2@
272 JROSETTA_API = @JROSETTA_API@
273 JROSETTA_ENGINE = @JROSETTA_ENGINE@
274 JUNIT4 = @JUNIT4@
275 LAPACK_LIBS = @LAPACK_LIBS@
276 LCOV = @LCOV@
277 LD = @LD@
278 LDFLAGS = @LDFLAGS@
279 LEX = @LEX@
280 LEXLIB = @LEXLIB@
281 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
282 LIBICONV = @LIBICONV@
283 LIBINTL = @LIBINTL@
284 LIBM = @LIBM@
285 LIBOBJS = @LIBOBJS@
286 LIBS = @LIBS@
287 LIBTOOL = @LIBTOOL@
288 LIPO = @LIPO@
289 LN_S = @LN_S@
290 LOGGING_LEVEL = @LOGGING_LEVEL@
291 LOOKS = @LOOKS@
292 LTLIBICONV = @LTLIBICONV@
293 LTLIBINTL = @LTLIBINTL@
294 LTLIBOBJS = @LTLIBOBJS@
295 MAINT = @MAINT@
296 MAKEINFO = @MAKEINFO@
297 MANIFEST_TOOL = @MANIFEST_TOOL@
298 MATIO_CFLAGS = @MATIO_CFLAGS@
299 MATIO_ENABLE = @MATIO_ENABLE@
300 MATIO_LIBS = @MATIO_LIBS@
301 MKDIR_P = @MKDIR_P@
302 MPI_ENABLE = @MPI_ENABLE@
303 MSGCAT = @MSGCAT@
304 MSGFMT = @MSGFMT@
305 MSGFMT_015 = @MSGFMT_015@
306 MSGMERGE = @MSGMERGE@
307 NM = @NM@
308 NMEDIT = @NMEDIT@
309 OBJDUMP = @OBJDUMP@
310 OBJEXT = @OBJEXT@
311 OCAMLC = @OCAMLC@
312 OCAMLDEP = @OCAMLDEP@
313 OCAMLLEX = @OCAMLLEX@
314 OCAMLOPT = @OCAMLOPT@
315 OCAMLYACC = @OCAMLYACC@
316 OPENMPI_CC = @OPENMPI_CC@
317 OPENMPI_CFLAGS = @OPENMPI_CFLAGS@
318 OPENMPI_CXX = @OPENMPI_CXX@
319 OPENMPI_CXXFLAGS = @OPENMPI_CXXFLAGS@
320 OPENMPI_LIBS = @OPENMPI_LIBS@
321 OPENMP_CFLAGS = @OPENMP_CFLAGS@
322 OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
323 OPENMP_ENABLE = @OPENMP_ENABLE@
324 OPENMP_LIBS = @OPENMP_LIBS@
325 OTOOL = @OTOOL@
326 OTOOL64 = @OTOOL64@
327 PACKAGE = @PACKAGE@
328 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
329 PACKAGE_NAME = @PACKAGE_NAME@
330 PACKAGE_STRING = @PACKAGE_STRING@
331 PACKAGE_TARNAME = @PACKAGE_TARNAME@
332 PACKAGE_URL = @PACKAGE_URL@
333 PACKAGE_VERSION = @PACKAGE_VERSION@
334 PATH_SEPARATOR = @PATH_SEPARATOR@
335 PCRE_CFLAGS = @PCRE_CFLAGS@
336 PCRE_CONFIG = @PCRE_CONFIG@
337 PCRE_LIBS = @PCRE_LIBS@
338 PCRE_VERSION = @PCRE_VERSION@
339 PKG_CONFIG = @PKG_CONFIG@
340 POSUB = @POSUB@
341 POW_LIB = @POW_LIB@
342 PYTHON = @PYTHON@
343 RANLIB = @RANLIB@
344 RELOCATABLE = @RELOCATABLE@
345 RT_LIB = @RT_LIB@
346 SAXON = @SAXON@
347 SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
348 SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
349 SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
350 SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
351 SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
352 SCIRENDERER = @SCIRENDERER@
353 SCIRENDERER_CP = @SCIRENDERER_CP@
354 SCI_CFLAGS = @SCI_CFLAGS@
355 SCI_CXXFLAGS = @SCI_CXXFLAGS@
356 SCI_FFLAGS = @SCI_FFLAGS@
357 SCI_LDFLAGS = @SCI_LDFLAGS@
358 SED = @SED@
359 SET_MAKE = @SET_MAKE@
360 SET_RELOCATABLE = @SET_RELOCATABLE@
361 SHELL = @SHELL@
362 SKINLF = @SKINLF@
363 SPLINT = @SPLINT@
364 STRIP = @STRIP@
365 SWIG_BIN = @SWIG_BIN@
366 SWIG_JAVA = @SWIG_JAVA@
367 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
368 SWIG_SCILAB = @SWIG_SCILAB@
369 TCLTK_LIBS = @TCLTK_LIBS@
370 TCL_INC_PATH = @TCL_INC_PATH@
371 TK_INC_PATH = @TK_INC_PATH@
372 UMFPACK_CFLAGS = @UMFPACK_CFLAGS@
373 UMFPACK_ENABLE = @UMFPACK_ENABLE@
374 UMFPACK_LIB = @UMFPACK_LIB@
375 USE_NLS = @USE_NLS@
376 VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
377 VALGRIND_LIBS = @VALGRIND_LIBS@
378 VERSION = @VERSION@
379 WITH_OCAML = @WITH_OCAML@
380 WITH_TKSCI = @WITH_TKSCI@
381 XCOS_ENABLE = @XCOS_ENABLE@
382 XGETTEXT = @XGETTEXT@
383 XGETTEXT_015 = @XGETTEXT_015@
384 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
385 XMKMF = @XMKMF@
386 XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
387 XML_APIS_EXT = @XML_APIS_EXT@
388 XML_CONFIG = @XML_CONFIG@
389 XML_FLAGS = @XML_FLAGS@
390 XML_LIBS = @XML_LIBS@
391 XML_VERSION = @XML_VERSION@
392 X_CFLAGS = @X_CFLAGS@
393 X_EXTRA_LIBS = @X_EXTRA_LIBS@
394 X_LIBS = @X_LIBS@
395 X_PRE_LIBS = @X_PRE_LIBS@
396 YACC = @YACC@
397 YFLAGS = @YFLAGS@
398 abs_builddir = @abs_builddir@
399 abs_srcdir = @abs_srcdir@
400 abs_top_builddir = @abs_top_builddir@
401 abs_top_srcdir = @abs_top_srcdir@
402 ac_ct_AR = @ac_ct_AR@
403 ac_ct_CC = @ac_ct_CC@
404 ac_ct_CXX = @ac_ct_CXX@
405 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
406 ac_ct_F77 = @ac_ct_F77@
407 am__include = @am__include@
408 am__leading_dot = @am__leading_dot@
409 am__quote = @am__quote@
410 am__tar = @am__tar@
411 am__untar = @am__untar@
412 bindir = @bindir@
413 build = @build@
414 build_alias = @build_alias@
415 build_cpu = @build_cpu@
416 build_os = @build_os@
417 build_vendor = @build_vendor@
418 builddir = @builddir@
419 cxx_present = @cxx_present@
420 datadir = @datadir@
421 datarootdir = @datarootdir@
422 docdir = @docdir@
423 dvidir = @dvidir@
424 exec_prefix = @exec_prefix@
425 host = @host@
426 host_alias = @host_alias@
427 host_cpu = @host_cpu@
428 host_os = @host_os@
429 host_vendor = @host_vendor@
430 htmldir = @htmldir@
431 includedir = @includedir@
432 infodir = @infodir@
433 install_sh = @install_sh@
434 libdir = @libdir@
435 libexecdir = @libexecdir@
436 localedir = @localedir@
437 localstatedir = @localstatedir@
438 mandir = @mandir@
439 mkdir_p = @mkdir_p@
440 oldincludedir = @oldincludedir@
441 pdfdir = @pdfdir@
442 prefix = @prefix@
443 program_transform_name = @program_transform_name@
444 psdir = @psdir@
445 sbindir = @sbindir@
446 sharedstatedir = @sharedstatedir@
447 srcdir = @srcdir@
448 sysconfdir = @sysconfdir@
449 target_alias = @target_alias@
450 top_build_prefix = @top_build_prefix@
451 top_builddir = @top_builddir@
452 top_srcdir = @top_srcdir@
453 yacc_present = @yacc_present@
454 @NEED_JAVA_TRUE@USEANT = 1
455
456 # Where all the Scilab stuff is installed (macros, help, ...)
457 mydatadir = $(pkgdatadir)/modules/$(modulename)
458
459 # Set AM_* SCI detected settings
460 AM_CPPFLAGS = $(SCI_CPPFLAGS)
461 AM_CFLAGS = $(SCI_CFLAGS)
462 AM_CXXFLAGS = $(SCI_CXXFLAGS)
463 # append includes to AM_FFLAGS to manage fortran includes
464 AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
465
466 # Tag shared libraries with the Scilab version
467 AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
468
469 # splint options
470 SPLINT_OPTIONS = -weak -booltype BOOL
471
472 ########################### JAVA ######################################
473 #### We are delegating java compilation to ant... Thanks to that
474 #### the procedure will be the same with Microsoft Windows (C)
475 #### and Linux/Unix
476 #######################################################################
477 TARGETS_ALL = $(am__append_1)
478
479 ################ MACROS ######################
480 # Rule to build a macro
481 # NOT USED  AT THE MOMENT
482 SUFFIXES = .sci
483
484 ########### INSTALL DOCUMENTATION ###################
485
486 # Install documentation files into the right target
487 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
488 # automake needs the html files to be present which is not the case when
489 # we are building Scilab
490
491 # Where it should be installed
492 pkgdocdir = $(mydatadir)
493
494 # What is the mask of the help source
495 DOCMASKXML = *.xml
496
497 # What is the mask of the MathML sources
498 DOCMASKMML = *.mml
499
500 ########### INSTALL DATA ###################
501 # Install macros, help & demos
502 # Where it should be installed
503 pkgmacrosdir = $(mydatadir)
504 # Which directory we process
505 MACRODIRS = macros/
506 # Mask of the Scilab sources macros
507 MACROMASK = *.sci
508 # Mask of the Scilab executable sources macros
509 MACROBUILDMASK = *.sce
510 # Mask of the Scilab compiled macros
511 MACROBINMASK = *.bin
512 # List of the standard directory for tests
513 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
514 # Where the demos should be installed
515 pkgdemosdir = $(mydatadir)
516 # List of the standard directory for demos
517 DEMOS_DIR = demos
518 # List of the standard directory for examples
519 EXAMPLES_DIR = examples
520 # Where to export JAVA archives (.jar)
521 JARDIR = jar/
522 # JAR files mask
523 JARMASK = *.jar
524 # Chapter file
525 HELP_CHAPTERDIR = help/
526 HELP_CHAPTERFILE = addchapter.sce
527 HELP_CHAPTERLANG = en_US fr_FR pt_BR
528 all: all-am
529
530 .SUFFIXES:
531 .SUFFIXES: .sci .bin
532 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
533         @for dep in $?; do \
534           case '$(am__configure_deps)' in \
535             *$$dep*) \
536               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
537                 && { if test -f $@; then exit 0; else break; fi; }; \
538               exit 1;; \
539           esac; \
540         done; \
541         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/prebuildjava/Makefile'; \
542         $(am__cd) $(top_srcdir) && \
543           $(AUTOMAKE) --foreign modules/prebuildjava/Makefile
544 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
545         @case '$?' in \
546           *config.status*) \
547             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
548           *) \
549             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
550             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
551         esac;
552 $(top_srcdir)/Makefile.incl.am $(am__empty):
553
554 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
555         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
556
557 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
558         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
559 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
560         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
561 $(am__aclocal_m4_deps):
562
563 mostlyclean-libtool:
564         -rm -f *.lo
565
566 clean-libtool:
567         -rm -rf .libs _libs
568 tags TAGS:
569
570 ctags CTAGS:
571
572 cscope cscopelist:
573
574
575 distdir: $(DISTFILES)
576         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
577         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
578         list='$(DISTFILES)'; \
579           dist_files=`for file in $$list; do echo $$file; done | \
580           sed -e "s|^$$srcdirstrip/||;t" \
581               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
582         case $$dist_files in \
583           */*) $(MKDIR_P) `echo "$$dist_files" | \
584                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
585                            sort -u` ;; \
586         esac; \
587         for file in $$dist_files; do \
588           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
589           if test -d $$d/$$file; then \
590             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
591             if test -d "$(distdir)/$$file"; then \
592               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
593             fi; \
594             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
595               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
596               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
597             fi; \
598             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
599           else \
600             test -f "$(distdir)/$$file" \
601             || cp -p $$d/$$file "$(distdir)/$$file" \
602             || exit 1; \
603           fi; \
604         done
605 check-am: all-am
606         $(MAKE) $(AM_MAKEFLAGS) check-local
607 check: check-am
608 all-am: Makefile all-local
609 installdirs:
610 install: install-am
611 install-exec: install-exec-am
612 install-data: install-data-am
613 uninstall: uninstall-am
614
615 install-am: all-am
616         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
617
618 installcheck: installcheck-am
619 install-strip:
620         if test -z '$(STRIP)'; then \
621           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
622             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
623               install; \
624         else \
625           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
626             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
627             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
628         fi
629 mostlyclean-generic:
630
631 clean-generic:
632
633 distclean-generic:
634         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
635         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
636
637 maintainer-clean-generic:
638         @echo "This command is intended for maintainers to use"
639         @echo "it deletes files that may require special tools to rebuild."
640 clean: clean-am
641
642 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
643
644 distclean: distclean-am
645         -rm -f Makefile
646 distclean-am: clean-am distclean-generic distclean-local
647
648 dvi: dvi-am
649
650 dvi-am:
651
652 html: html-am
653
654 html-am:
655
656 info: info-am
657
658 info-am:
659
660 install-data-am: install-data-local
661
662 install-dvi: install-dvi-am
663
664 install-dvi-am:
665
666 install-exec-am:
667
668 install-html: install-html-am
669
670 install-html-am: install-html-local
671
672 install-info: install-info-am
673
674 install-info-am:
675
676 install-man:
677
678 install-pdf: install-pdf-am
679
680 install-pdf-am:
681
682 install-ps: install-ps-am
683
684 install-ps-am:
685
686 installcheck-am:
687
688 maintainer-clean: maintainer-clean-am
689         -rm -f Makefile
690 maintainer-clean-am: distclean-am maintainer-clean-generic
691
692 mostlyclean: mostlyclean-am
693
694 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
695
696 pdf: pdf-am
697
698 pdf-am:
699
700 ps: ps-am
701
702 ps-am:
703
704 uninstall-am:
705
706 .MAKE: check-am install-am install-strip
707
708 .PHONY: all all-am all-local check check-am check-local clean \
709         clean-generic clean-libtool clean-local cscopelist-am ctags-am \
710         distclean distclean-generic distclean-libtool distclean-local \
711         distdir dvi dvi-am html html-am info info-am install \
712         install-am install-data install-data-am install-data-local \
713         install-dvi install-dvi-am install-exec install-exec-am \
714         install-html install-html-am install-html-local install-info \
715         install-info-am install-man install-pdf install-pdf-am \
716         install-ps install-ps-am install-strip installcheck \
717         installcheck-am installdirs maintainer-clean \
718         maintainer-clean-generic mostlyclean mostlyclean-generic \
719         mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
720         uninstall-am
721
722 .PRECIOUS: Makefile
723
724
725 @NEED_JAVA_TRUE@all: java
726
727 # This target enables tests for Scilab
728 check-local: $(top_builddir)/scilab-bin test
729         if test -d $(mydatadir)/tests; then \
730           @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
731         fi
732 check-code:
733         if test -f build.xml; then \
734                 $(ANT) checkstyle; \
735         fi
736         if test -x "$(SPLINT)"; then \
737                 $(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); \
738         fi
739 @NEED_JAVA_TRUE@java:
740 # Some configurations needs to export JAVA_HOME in the current env
741 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
742 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
743 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
744 @NEED_JAVA_TRUE@                $(ANT); \
745 @NEED_JAVA_TRUE@        fi
746
747 @NEED_JAVA_TRUE@clean-java:
748 # Some configurations needs to export JAVA_HOME in the current env
749 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
750 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
751 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
752 @NEED_JAVA_TRUE@                $(ANT) clean; \
753 @NEED_JAVA_TRUE@        fi;
754
755 # If the user request for the SWIG generation of the wrappers Java => C/C++
756 # We call the target swig-build on the variable SWIG_WRAPPERS
757
758 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
759 @SWIG_TRUE@     @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
760 @SWIG_TRUE@     SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
761 @SWIG_TRUE@     if test -n "$(SWIG_WRAPPERS)"; then \
762 @SWIG_TRUE@             for file in $(SWIG_WRAPPERS) ; do \
763 @SWIG_TRUE@                     echo "Swig process of $$file (Java) ..."; \
764 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_JAVA) $(SWIG_OPTIONS) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
765 @SWIG_TRUE@             done; \
766 @SWIG_TRUE@     fi
767
768 @SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS)
769 @SWIG_TRUE@     @SWIG_OUTDIR=src/swig/; \
770 @SWIG_TRUE@     if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
771 @SWIG_TRUE@             for file in $(SWIG_SCILAB_WRAPPERS) ; do \
772 @SWIG_TRUE@                     echo "Swig process of $$file (Scilab) ..."; \
773 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_SCILAB) $(SWIG_OPTIONS) -outdir $$SWIG_OUTDIR $$file; \
774 @SWIG_TRUE@             done; \
775 @SWIG_TRUE@     fi
776
777 # If the user request for the SWIG generation of the wrappers Java => C/C++
778 # We call the target swig-build on the variable SWIG_WRAPPERS
779
780 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
781 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/; \
782 @GIWS_TRUE@     MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
783 @GIWS_TRUE@     if test -n "$(GIWS_WRAPPERS)"; then \
784 @GIWS_TRUE@             for file in $(GIWS_WRAPPERS) ; do \
785 @GIWS_TRUE@                     echo "GIWS process of $$file ..."; \
786 @GIWS_TRUE@                     if test -z "$(GIWS_OPTIONS)"; then \
787 @GIWS_TRUE@                             $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
788 @GIWS_TRUE@                     else \
789 @GIWS_TRUE@                             echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
790 @GIWS_TRUE@                             $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
791 @GIWS_TRUE@                     fi \
792 @GIWS_TRUE@             done; \
793 @GIWS_TRUE@     fi
794
795 @GIWS_TRUE@giws-exception:
796 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
797 @GIWS_TRUE@     echo "GIWS: Generation of exception class ..."; \
798 @GIWS_TRUE@     $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR
799
800 macros:
801         -@( if test ! -x $(top_builddir)/scilab-bin; then \
802                 echo "Error : Cannot build $< : Scilab has not been built"; \
803         else \
804                 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
805         fi)
806
807 # Removes the macros
808 clean-macros:
809 # Removes macros (*.bin generated from .sci)
810         @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
811                 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
812                 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
813         done
814
815 test:
816 # More tests could be added here
817         @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
818         if test -f build.xml -a $$USEANT -eq 1; then \
819                 $(ANT) test; \
820         fi
821
822 all-local: $(TARGETS_ALL)
823
824 .sci.bin:
825         -@( if test ! -x $(top_builddir)/scilab-bin; then \
826         echo "Error : Cannot build $< : Scilab has not been build"; \
827         else \
828         echo "Creating $@"; \
829         $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
830         fi )
831
832 install-html-local:
833
834 install-data-local-local:
835 # Mainly for javasci
836         @if test -d $(srcdir)/javadoc; then \
837                 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
838         fi
839 # If the user wants the help sources to be installed
840 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
841 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
842 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/$$lang; then \
843 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
844 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
845 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
846 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
847 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
848 @INSTALL_HELP_XML_TRUE@           done ; \
849 @INSTALL_HELP_XML_TRUE@         fi; \
850 @INSTALL_HELP_XML_TRUE@  fi; \
851 @INSTALL_HELP_XML_TRUE@ done; \
852 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
853 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/mml/; then \
854 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
855 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
856 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
857 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
858 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
859 @INSTALL_HELP_XML_TRUE@           done ; \
860 @INSTALL_HELP_XML_TRUE@         fi; \
861 @INSTALL_HELP_XML_TRUE@ fi
862 install-data-local:
863 # Install the tests
864         @echo "-------- Install tests (if any) --------"; \
865         for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
866           if test -d $(srcdir)/$$dir/; then \
867             $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
868                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
869                     if test -d "$(srcdir)/$$dir/$$file"; then \
870                           echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
871                           $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
872                     else \
873                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
874                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
875                     fi \
876                   done; \
877           fi; \
878         done
879 # Install the help chapter
880         @echo "-------- Install the help chapter (if any) --------"; \
881         for lang in $(HELP_CHAPTERLANG); do \
882                 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
883                 if test -f $$HELPFILE; then \
884                         echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
885                         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
886                         echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
887                         $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
888                 fi; \
889         done
890 # Install the demos & examples
891         @echo "-------- Install demos & examples (if any) --------"; \
892         for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
893           if test -d $(srcdir)/$$dir/; then \
894             $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
895                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
896                     if test -d "$(srcdir)/$$dir/$$file"; then \
897                           echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
898                           $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
899                     else \
900                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
901                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
902                     fi \
903                   done; \
904           fi; \
905         done
906 # Install the macros
907         @echo "-------- Install macros (if any) --------"; \
908         for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
909           $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
910                 if test -d $(srcdir)/$$dir/; then \
911                         FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
912                         if test -n "$(MACROSSPECIALEXT)"; then \
913                                 specialExtDir=""; \
914                                 for specialExt in $(MACROSSPECIALEXT); do \
915                                         specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
916                                 done; \
917                                 FILELIST="$$FILELIST $$specialExtDir"; \
918                         fi; \
919                   for file in `ls -1 $$FILELIST 2>/dev/null`; do \
920                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
921                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
922                   done; \
923                 fi; \
924         done
925 # Install java files (.jar)
926         @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
927         echo "-------- Install jar files --------"; \
928     $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
929           for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
930                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
931                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
932           done ; \
933         fi
934
935 ########### CLEAN ###################
936 # Clean help (generated automatically by Scilab)
937 # It used to clean the macro (clean-macros) but this was causing
938 # make clean && make to fail Scilab startup
939 @NEED_JAVA_TRUE@clean-local: clean-java
940 @NEED_JAVA_FALSE@clean-local:
941
942 distclean-local:
943         rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
944
945 .PHONY: macros java swig giws
946
947 # Tell versions [3.59,3.63) of GNU make to not export all variables.
948 # Otherwise a system limit (for SysV at least) may be exceeded.
949 .NOEXPORT: