Fix OSX compilation problems
[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 runstatedir = @runstatedir@
458 sbindir = @sbindir@
459 sharedstatedir = @sharedstatedir@
460 srcdir = @srcdir@
461 sysconfdir = @sysconfdir@
462 target_alias = @target_alias@
463 top_build_prefix = @top_build_prefix@
464 top_builddir = @top_builddir@
465 top_srcdir = @top_srcdir@
466 yacc_present = @yacc_present@
467 @NEED_JAVA_TRUE@USEANT = 1
468
469 # Where all the Scilab stuff is installed (macros, help, ...)
470 mydatadir = $(pkgdatadir)/modules/$(modulename)
471
472 # Set AM_* SCI detected settings
473 AM_CPPFLAGS = $(SCI_CPPFLAGS)
474 AM_CFLAGS = $(SCI_CFLAGS)
475 AM_CXXFLAGS = $(SCI_CXXFLAGS)
476 # append includes to AM_FFLAGS to manage fortran includes
477 AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
478
479 # Tag shared libraries with the Scilab version
480 AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
481
482 # splint options
483 SPLINT_OPTIONS = -weak -booltype BOOL
484
485 ########################### JAVA ######################################
486 #### We are delegating java compilation to ant... Thanks to that
487 #### the procedure will be the same with Microsoft Windows (C)
488 #### and Linux/Unix
489 #######################################################################
490 TARGETS_ALL = $(am__append_1)
491
492 ################ MACROS ######################
493 # Rule to build a macro
494 # NOT USED  AT THE MOMENT
495 SUFFIXES = .sci 
496
497 ########### INSTALL DOCUMENTATION ###################
498
499 # Install documentation files into the right target
500 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
501 # automake needs the html files to be present which is not the case when
502 # we are building Scilab
503
504 # Where it should be installed
505 pkgdocdir = $(mydatadir)
506
507 # What is the mask of the help source
508 DOCMASKXML = *.xml
509
510 # What is the mask of the MathML sources
511 DOCMASKMML = *.mml
512
513 ########### INSTALL DATA ###################
514 # Install macros, help & demos
515 # Where it should be installed
516 pkgmacrosdir = $(mydatadir)
517 # Which directory we process
518 MACRODIRS = macros/
519 # Mask of the Scilab sources macros
520 MACROMASK = *.sci
521 # Mask of the Scilab executable sources macros
522 MACROBUILDMASK = *.sce
523 # Mask of the Scilab compiled macros
524 MACROBINMASK = *.bin
525 # List of the standard directory for tests
526 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
527 # Where the demos should be installed
528 pkgdemosdir = $(mydatadir)
529 # List of the standard directory for demos
530 DEMOS_DIR = demos
531 # List of the standard directory for examples
532 EXAMPLES_DIR = examples
533 # Where to export JAVA archives (.jar)
534 JARDIR = jar/
535 # JAR files mask
536 JARMASK = *.jar
537 # Chapter file 
538 HELP_CHAPTERDIR = help/
539 HELP_CHAPTERFILE = addchapter.sce
540 HELP_CHAPTERLANG = en_US fr_FR pt_BR
541 all: all-am
542
543 .SUFFIXES:
544 .SUFFIXES: .sci .bin
545 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
546         @for dep in $?; do \
547           case '$(am__configure_deps)' in \
548             *$$dep*) \
549               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
550                 && { if test -f $@; then exit 0; else break; fi; }; \
551               exit 1;; \
552           esac; \
553         done; \
554         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/prebuildjava/Makefile'; \
555         $(am__cd) $(top_srcdir) && \
556           $(AUTOMAKE) --foreign modules/prebuildjava/Makefile
557 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
558         @case '$?' in \
559           *config.status*) \
560             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
561           *) \
562             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
563             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
564         esac;
565 $(top_srcdir)/Makefile.incl.am $(am__empty):
566
567 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
568         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
569
570 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
571         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
572 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
573         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
574 $(am__aclocal_m4_deps):
575
576 mostlyclean-libtool:
577         -rm -f *.lo
578
579 clean-libtool:
580         -rm -rf .libs _libs
581 tags TAGS:
582
583 ctags CTAGS:
584
585 cscope cscopelist:
586
587
588 distdir: $(DISTFILES)
589         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
590         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
591         list='$(DISTFILES)'; \
592           dist_files=`for file in $$list; do echo $$file; done | \
593           sed -e "s|^$$srcdirstrip/||;t" \
594               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
595         case $$dist_files in \
596           */*) $(MKDIR_P) `echo "$$dist_files" | \
597                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
598                            sort -u` ;; \
599         esac; \
600         for file in $$dist_files; do \
601           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
602           if test -d $$d/$$file; then \
603             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
604             if test -d "$(distdir)/$$file"; then \
605               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
606             fi; \
607             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
608               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
609               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
610             fi; \
611             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
612           else \
613             test -f "$(distdir)/$$file" \
614             || cp -p $$d/$$file "$(distdir)/$$file" \
615             || exit 1; \
616           fi; \
617         done
618 check-am: all-am
619         $(MAKE) $(AM_MAKEFLAGS) check-local
620 check: check-am
621 all-am: Makefile all-local
622 installdirs:
623 install: install-am
624 install-exec: install-exec-am
625 install-data: install-data-am
626 uninstall: uninstall-am
627
628 install-am: all-am
629         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
630
631 installcheck: installcheck-am
632 install-strip:
633         if test -z '$(STRIP)'; then \
634           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
635             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
636               install; \
637         else \
638           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
639             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
640             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
641         fi
642 mostlyclean-generic:
643
644 clean-generic:
645
646 distclean-generic:
647         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
648         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
649
650 maintainer-clean-generic:
651         @echo "This command is intended for maintainers to use"
652         @echo "it deletes files that may require special tools to rebuild."
653 clean: clean-am
654
655 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
656
657 distclean: distclean-am
658         -rm -f Makefile
659 distclean-am: clean-am distclean-generic distclean-local
660
661 dvi: dvi-am
662
663 dvi-am:
664
665 html: html-am
666
667 html-am:
668
669 info: info-am
670
671 info-am:
672
673 install-data-am: install-data-local
674
675 install-dvi: install-dvi-am
676
677 install-dvi-am:
678
679 install-exec-am:
680
681 install-html: install-html-am
682
683 install-html-am: install-html-local
684
685 install-info: install-info-am
686
687 install-info-am:
688
689 install-man:
690
691 install-pdf: install-pdf-am
692
693 install-pdf-am:
694
695 install-ps: install-ps-am
696
697 install-ps-am:
698
699 installcheck-am:
700
701 maintainer-clean: maintainer-clean-am
702         -rm -f Makefile
703 maintainer-clean-am: distclean-am maintainer-clean-generic
704
705 mostlyclean: mostlyclean-am
706
707 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
708
709 pdf: pdf-am
710
711 pdf-am:
712
713 ps: ps-am
714
715 ps-am:
716
717 uninstall-am:
718
719 .MAKE: check-am install-am install-strip
720
721 .PHONY: all all-am all-local check check-am check-local clean \
722         clean-generic clean-libtool clean-local cscopelist-am ctags-am \
723         distclean distclean-generic distclean-libtool distclean-local \
724         distdir dvi dvi-am html html-am info info-am install \
725         install-am install-data install-data-am install-data-local \
726         install-dvi install-dvi-am install-exec install-exec-am \
727         install-html install-html-am install-html-local install-info \
728         install-info-am install-man install-pdf install-pdf-am \
729         install-ps install-ps-am install-strip installcheck \
730         installcheck-am installdirs maintainer-clean \
731         maintainer-clean-generic mostlyclean mostlyclean-generic \
732         mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
733         uninstall-am
734
735 .PRECIOUS: Makefile
736
737
738 @NEED_JAVA_TRUE@all: java
739
740 # This target enables tests for Scilab
741 check-local: $(top_builddir)/scilab-bin test
742         if test -d $(mydatadir)/tests; then \
743           @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
744         fi
745 check-code:
746         if test -f build.xml; then \
747                 $(ANT) checkstyle; \
748         fi
749         if test -x "$(SPLINT)"; then \
750                 $(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); \
751         fi
752 @NEED_JAVA_TRUE@java:
753 # Some configurations needs to export JAVA_HOME in the current env
754 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
755 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
756 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
757 @NEED_JAVA_TRUE@                $(ANT); \
758 @NEED_JAVA_TRUE@        fi
759
760 @NEED_JAVA_TRUE@clean-java:
761 # Some configurations needs to export JAVA_HOME in the current env
762 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
763 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
764 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
765 @NEED_JAVA_TRUE@                $(ANT) clean; \
766 @NEED_JAVA_TRUE@        fi;
767
768 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
769 # We call the target swig-build on the variable SWIG_WRAPPERS
770
771 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
772 @SWIG_TRUE@     @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
773 @SWIG_TRUE@     SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
774 @SWIG_TRUE@     if test -n "$(SWIG_WRAPPERS)"; then \
775 @SWIG_TRUE@             for file in $(SWIG_WRAPPERS) ; do \
776 @SWIG_TRUE@                     echo "Swig process of $$file (Java) ..."; \
777 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
778 @SWIG_TRUE@             done; \
779 @SWIG_TRUE@     fi
780
781 @SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS)
782 @SWIG_TRUE@     @SWIG_OUTDIR=src/swig/; \
783 @SWIG_TRUE@     if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
784 @SWIG_TRUE@             for file in $(SWIG_SCILAB_WRAPPERS) ; do \
785 @SWIG_TRUE@                     echo "Swig process of $$file (Scilab) ..."; \
786 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_SCILAB)  -outdir $$SWIG_OUTDIR $$file; \
787 @SWIG_TRUE@             done; \
788 @SWIG_TRUE@     fi
789
790 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
791 # We call the target swig-build on the variable SWIG_WRAPPERS
792
793 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
794 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/; \
795 @GIWS_TRUE@     MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
796 @GIWS_TRUE@     if test -n "$(GIWS_WRAPPERS)"; then \
797 @GIWS_TRUE@             for file in $(GIWS_WRAPPERS) ; do \
798 @GIWS_TRUE@                     echo "GIWS process of $$file ..."; \
799 @GIWS_TRUE@                     if test -z "$(GIWS_OPTIONS)"; then \
800 @GIWS_TRUE@                             $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
801 @GIWS_TRUE@                     else \
802 @GIWS_TRUE@                             echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
803 @GIWS_TRUE@                             $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
804 @GIWS_TRUE@                     fi \
805 @GIWS_TRUE@             done; \
806 @GIWS_TRUE@     fi
807
808 @GIWS_TRUE@giws-exception:
809 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
810 @GIWS_TRUE@     echo "GIWS: Generation of exception class ..."; \
811 @GIWS_TRUE@     $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR 
812
813 macros:
814         -@( if test ! -x $(top_builddir)/scilab-bin; then \
815                 echo "Error : Cannot build $< : Scilab has not been built"; \
816         else \
817                 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
818         fi)
819
820 # Removes the macros
821 clean-macros:
822 # Removes macros (*.bin generated from .sci)
823         @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
824                 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
825                 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
826         done
827
828 test:
829 # More tests could be added here
830         @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
831         if test -f build.xml -a $$USEANT -eq 1; then \
832                 $(ANT) test; \
833         fi
834
835 all-local: $(TARGETS_ALL)
836
837 .sci.bin:
838         -@( if test ! -x $(top_builddir)/scilab-bin; then \
839         echo "Error : Cannot build $< : Scilab has not been build"; \
840         else \
841         echo "Creating $@"; \
842         $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
843         fi )
844
845 install-html-local:
846
847 install-data-local-local:
848 # Mainly for javasci
849         @if test -d $(srcdir)/javadoc; then \
850                 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
851         fi
852 # If the user wants the help sources to be installed
853 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
854 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
855 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/$$lang; then \
856 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
857 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
858 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
859 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
860 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
861 @INSTALL_HELP_XML_TRUE@           done ; \
862 @INSTALL_HELP_XML_TRUE@         fi; \
863 @INSTALL_HELP_XML_TRUE@  fi; \
864 @INSTALL_HELP_XML_TRUE@ done; \
865 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
866 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/mml/; then \
867 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
868 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
869 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
870 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
871 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
872 @INSTALL_HELP_XML_TRUE@           done ; \
873 @INSTALL_HELP_XML_TRUE@         fi; \
874 @INSTALL_HELP_XML_TRUE@ fi
875 install-data-local:
876 # Install the tests
877         @echo "-------- Install tests (if any) --------"; \
878         for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
879           if test -d $(srcdir)/$$dir/; then \
880             $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
881                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
882                     if test -d "$(srcdir)/$$dir/$$file"; then \
883                           echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
884                           $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
885                     else \
886                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
887                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
888                     fi \
889                   done; \
890           fi; \
891         done
892 # Install the help chapter
893         @echo "-------- Install the help chapter (if any) --------"; \
894         for lang in $(HELP_CHAPTERLANG); do \
895                 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
896                 if test -f $$HELPFILE; then \
897                         echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
898                         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
899                         echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
900                         $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
901                 fi; \
902         done
903 # Install the demos & examples
904         @echo "-------- Install demos & examples (if any) --------"; \
905         for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
906           if test -d $(srcdir)/$$dir/; then \
907             $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
908                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
909                     if test -d "$(srcdir)/$$dir/$$file"; then \
910                           echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
911                           $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
912                     else \
913                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
914                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
915                     fi \
916                   done; \
917           fi; \
918         done
919 # Install the macros
920         @echo "-------- Install macros (if any) --------"; \
921         for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
922           $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
923                 if test -d $(srcdir)/$$dir/; then \
924                         FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
925                         if test -n "$(MACROSSPECIALEXT)"; then \
926                                 specialExtDir=""; \
927                                 for specialExt in $(MACROSSPECIALEXT); do \
928                                         specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
929                                 done; \
930                                 FILELIST="$$FILELIST $$specialExtDir"; \
931                         fi; \
932                   for file in `ls -1 $$FILELIST 2>/dev/null`; do \
933                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
934                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
935                   done; \
936                 fi; \
937         done
938 # Install java files (.jar)
939         @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
940         echo "-------- Install jar files --------"; \
941     $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
942           for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
943                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
944                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
945           done ; \
946         fi
947
948 ########### CLEAN ###################
949 # Clean help (generated automatically by Scilab)
950 # It used to clean the macro (clean-macros) but this was causing
951 # make clean && make to fail Scilab startup
952 @NEED_JAVA_TRUE@clean-local: clean-java
953 @NEED_JAVA_FALSE@clean-local:
954
955 distclean-local:
956         rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
957
958 .PHONY: macros java swig giws
959
960 # Tell versions [3.59,3.63) of GNU make to not export all variables.
961 # Otherwise a system limit (for SysV at least) may be exceeded.
962 .NOEXPORT: