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