Linux: update to automake 1.16.1
[scilab.git] / scilab / modules / prebuildjava / Makefile.in
1 # Makefile.in generated by automake 1.16.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2018 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__maybe_remake_depfiles)'; \
562             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
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: $(BUILT_SOURCES)
588         $(MAKE) $(AM_MAKEFLAGS) distdir-am
589
590 distdir-am: $(DISTFILES)
591         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
592         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
593         list='$(DISTFILES)'; \
594           dist_files=`for file in $$list; do echo $$file; done | \
595           sed -e "s|^$$srcdirstrip/||;t" \
596               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
597         case $$dist_files in \
598           */*) $(MKDIR_P) `echo "$$dist_files" | \
599                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
600                            sort -u` ;; \
601         esac; \
602         for file in $$dist_files; do \
603           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
604           if test -d $$d/$$file; then \
605             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
606             if test -d "$(distdir)/$$file"; then \
607               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
608             fi; \
609             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
610               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
611               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
612             fi; \
613             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
614           else \
615             test -f "$(distdir)/$$file" \
616             || cp -p $$d/$$file "$(distdir)/$$file" \
617             || exit 1; \
618           fi; \
619         done
620 check-am: all-am
621         $(MAKE) $(AM_MAKEFLAGS) check-local
622 check: check-am
623 all-am: Makefile all-local
624 installdirs:
625 install: install-am
626 install-exec: install-exec-am
627 install-data: install-data-am
628 uninstall: uninstall-am
629
630 install-am: all-am
631         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
632
633 installcheck: installcheck-am
634 install-strip:
635         if test -z '$(STRIP)'; then \
636           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
637             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
638               install; \
639         else \
640           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
641             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
642             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
643         fi
644 mostlyclean-generic:
645
646 clean-generic:
647
648 distclean-generic:
649         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
650         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
651
652 maintainer-clean-generic:
653         @echo "This command is intended for maintainers to use"
654         @echo "it deletes files that may require special tools to rebuild."
655 clean: clean-am
656
657 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
658
659 distclean: distclean-am
660         -rm -f Makefile
661 distclean-am: clean-am distclean-generic distclean-local
662
663 dvi: dvi-am
664
665 dvi-am:
666
667 html: html-am
668
669 html-am:
670
671 info: info-am
672
673 info-am:
674
675 install-data-am: install-data-local
676
677 install-dvi: install-dvi-am
678
679 install-dvi-am:
680
681 install-exec-am:
682
683 install-html: install-html-am
684
685 install-html-am: install-html-local
686
687 install-info: install-info-am
688
689 install-info-am:
690
691 install-man:
692
693 install-pdf: install-pdf-am
694
695 install-pdf-am:
696
697 install-ps: install-ps-am
698
699 install-ps-am:
700
701 installcheck-am:
702
703 maintainer-clean: maintainer-clean-am
704         -rm -f Makefile
705 maintainer-clean-am: distclean-am maintainer-clean-generic
706
707 mostlyclean: mostlyclean-am
708
709 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
710
711 pdf: pdf-am
712
713 pdf-am:
714
715 ps: ps-am
716
717 ps-am:
718
719 uninstall-am:
720
721 .MAKE: check-am install-am install-strip
722
723 .PHONY: all all-am all-local check check-am check-local clean \
724         clean-generic clean-libtool clean-local cscopelist-am ctags-am \
725         distclean distclean-generic distclean-libtool distclean-local \
726         distdir dvi dvi-am html html-am info info-am install \
727         install-am install-data install-data-am install-data-local \
728         install-dvi install-dvi-am install-exec install-exec-am \
729         install-html install-html-am install-html-local install-info \
730         install-info-am install-man install-pdf install-pdf-am \
731         install-ps install-ps-am install-strip installcheck \
732         installcheck-am installdirs maintainer-clean \
733         maintainer-clean-generic mostlyclean mostlyclean-generic \
734         mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
735         uninstall-am
736
737 .PRECIOUS: Makefile
738
739
740 @NEED_JAVA_TRUE@all: java
741
742 # This target enables tests for Scilab
743 check-local: $(top_builddir)/scilab-bin test
744         if test -d $(mydatadir)/tests; then \
745           @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
746         fi
747 check-code:
748         if test -f build.xml; then \
749                 $(ANT) checkstyle; \
750         fi
751         if test -x "$(SPLINT)"; then \
752                 $(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); \
753         fi
754 @NEED_JAVA_TRUE@java:
755 # Some configurations needs to export JAVA_HOME in the current env
756 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
757 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
758 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
759 @NEED_JAVA_TRUE@                $(ANT); \
760 @NEED_JAVA_TRUE@        fi
761
762 @NEED_JAVA_TRUE@clean-java:
763 # Some configurations needs to export JAVA_HOME in the current env
764 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
765 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
766 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
767 @NEED_JAVA_TRUE@                $(ANT) clean; \
768 @NEED_JAVA_TRUE@        fi;
769
770 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
771 # We call the target swig-build on the variable SWIG_WRAPPERS
772
773 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
774 @SWIG_TRUE@     @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
775 @SWIG_TRUE@     SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
776 @SWIG_TRUE@     if test -n "$(SWIG_WRAPPERS)"; then \
777 @SWIG_TRUE@             for file in $(SWIG_WRAPPERS) ; do \
778 @SWIG_TRUE@                     echo "Swig process of $$file (Java) ..."; \
779 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
780 @SWIG_TRUE@             done; \
781 @SWIG_TRUE@     fi
782
783 @SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS)
784 @SWIG_TRUE@     @SWIG_OUTDIR=src/swig/; \
785 @SWIG_TRUE@     if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
786 @SWIG_TRUE@             for file in $(SWIG_SCILAB_WRAPPERS) ; do \
787 @SWIG_TRUE@                     echo "Swig process of $$file (Scilab) ..."; \
788 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_SCILAB)  -outdir $$SWIG_OUTDIR $$file; \
789 @SWIG_TRUE@             done; \
790 @SWIG_TRUE@     fi
791
792 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
793 # We call the target swig-build on the variable SWIG_WRAPPERS
794
795 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
796 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/; \
797 @GIWS_TRUE@     MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
798 @GIWS_TRUE@     if test -n "$(GIWS_WRAPPERS)"; then \
799 @GIWS_TRUE@             for file in $(GIWS_WRAPPERS) ; do \
800 @GIWS_TRUE@                     echo "GIWS process of $$file ..."; \
801 @GIWS_TRUE@                     if test -z "$(GIWS_OPTIONS)"; then \
802 @GIWS_TRUE@                             $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
803 @GIWS_TRUE@                     else \
804 @GIWS_TRUE@                             echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
805 @GIWS_TRUE@                             $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
806 @GIWS_TRUE@                     fi \
807 @GIWS_TRUE@             done; \
808 @GIWS_TRUE@     fi
809
810 @GIWS_TRUE@giws-exception:
811 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
812 @GIWS_TRUE@     echo "GIWS: Generation of exception class ..."; \
813 @GIWS_TRUE@     $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR 
814
815 macros:
816         -@( if test ! -x $(top_builddir)/scilab-bin; then \
817                 echo "Error : Cannot build $< : Scilab has not been built"; \
818         else \
819                 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
820         fi)
821
822 # Removes the macros
823 clean-macros:
824 # Removes macros (*.bin generated from .sci)
825         @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
826                 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
827                 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
828         done
829
830 test:
831 # More tests could be added here
832         @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
833         if test -f build.xml -a $$USEANT -eq 1; then \
834                 $(ANT) test; \
835         fi
836
837 all-local: $(TARGETS_ALL)
838
839 .sci.bin:
840         -@( if test ! -x $(top_builddir)/scilab-bin; then \
841         echo "Error : Cannot build $< : Scilab has not been build"; \
842         else \
843         echo "Creating $@"; \
844         $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
845         fi )
846
847 install-html-local:
848
849 install-data-local-local:
850 # Mainly for javasci
851         @if test -d $(srcdir)/javadoc; then \
852                 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
853         fi
854 # If the user wants the help sources to be installed
855 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
856 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
857 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/$$lang; then \
858 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
859 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
860 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
861 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
862 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
863 @INSTALL_HELP_XML_TRUE@           done ; \
864 @INSTALL_HELP_XML_TRUE@         fi; \
865 @INSTALL_HELP_XML_TRUE@  fi; \
866 @INSTALL_HELP_XML_TRUE@ done; \
867 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
868 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/mml/; then \
869 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
870 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
871 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
872 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
873 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
874 @INSTALL_HELP_XML_TRUE@           done ; \
875 @INSTALL_HELP_XML_TRUE@         fi; \
876 @INSTALL_HELP_XML_TRUE@ fi
877 install-data-local:
878 # Install the tests
879         @echo "-------- Install tests (if any) --------"; \
880         for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
881           if test -d $(srcdir)/$$dir/; then \
882             $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
883                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
884                     if test -d "$(srcdir)/$$dir/$$file"; then \
885                           echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
886                           $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
887                     else \
888                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
889                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
890                     fi \
891                   done; \
892           fi; \
893         done
894 # Install the help chapter
895         @echo "-------- Install the help chapter (if any) --------"; \
896         for lang in $(HELP_CHAPTERLANG); do \
897                 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
898                 if test -f $$HELPFILE; then \
899                         echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
900                         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
901                         echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
902                         $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
903                 fi; \
904         done
905 # Install the demos & examples
906         @echo "-------- Install demos & examples (if any) --------"; \
907         for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
908           if test -d $(srcdir)/$$dir/; then \
909             $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
910                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
911                     if test -d "$(srcdir)/$$dir/$$file"; then \
912                           echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
913                           $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
914                     else \
915                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
916                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
917                     fi \
918                   done; \
919           fi; \
920         done
921 # Install the macros
922         @echo "-------- Install macros (if any) --------"; \
923         for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
924           $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
925                 if test -d $(srcdir)/$$dir/; then \
926                         FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
927                         if test -n "$(MACROSSPECIALEXT)"; then \
928                                 specialExtDir=""; \
929                                 for specialExt in $(MACROSSPECIALEXT); do \
930                                         specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
931                                 done; \
932                                 FILELIST="$$FILELIST $$specialExtDir"; \
933                         fi; \
934                   for file in `ls -1 $$FILELIST 2>/dev/null`; do \
935                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
936                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
937                   done; \
938                 fi; \
939         done
940 # Install java files (.jar)
941         @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
942         echo "-------- Install jar files --------"; \
943     $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
944           for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
945                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
946                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
947           done ; \
948         fi
949
950 ########### CLEAN ###################
951 # Clean help (generated automatically by Scilab)
952 # It used to clean the macro (clean-macros) but this was causing
953 # make clean && make to fail Scilab startup
954 @NEED_JAVA_TRUE@clean-local: clean-java
955 @NEED_JAVA_FALSE@clean-local:
956
957 distclean-local:
958         rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
959
960 .PHONY: macros java swig giws
961
962 # Tell versions [3.59,3.63) of GNU make to not export all variables.
963 # Otherwise a system limit (for SysV at least) may be exceeded.
964 .NOEXPORT: