1 # Makefile.in generated by automake 1.15.1 from Makefile.am.
4 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
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.
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
17 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
18 # Copyright (C) 2011 - DIGITEO - Antoine ELIAS
20 # Copyright (C) 2012 - 2016 - Scilab Enterprises
22 # This file is hereby licensed under the terms of the GNU GPL v2.0,
23 # pursuant to article 5.3.4 of the CeCILL v.2.1.
24 # This file was originally licensed under the terms of the CeCILL v2.1,
25 # and continues to be available under such terms.
26 # For more information, see the COPYING file which you should have received
27 # along with this program.
29 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
30 # Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
31 # Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
33 # Copyright (C) 2012 - 2016 - Scilab Enterprises
35 # This file is hereby licensed under the terms of the GNU GPL v2.0,
36 # pursuant to article 5.3.4 of the CeCILL v.2.1.
37 # This file was originally licensed under the terms of the CeCILL v2.1,
38 # and continues to be available under such terms.
39 # For more information, see the COPYING file which you should have received
40 # along with this program.
44 ### Makefile included stuff
45 ### Target, variable, suffixes which are supposed to be useful in every makefile.am
51 if test -z '$(MAKELEVEL)'; then \
53 elif test -n '$(MAKE_HOST)'; then \
55 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
61 am__make_running_with_option = \
62 case $${target_option-} in \
64 *) echo "am__make_running_with_option: internal error: invalid" \
65 "target option '$${target_option-}' specified" >&2; \
69 sane_makeflags=$$MAKEFLAGS; \
70 if $(am__is_gnu_make); then \
71 sane_makeflags=$$MFLAGS; \
76 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
77 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
83 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
85 for flg in $$sane_makeflags; do \
86 test $$skip_next = yes && { skip_next=no; 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;; \
99 *$$target_option*) has_opt=yes; break;; \
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)
121 build_triplet = @build@
122 host_triplet = @host@
123 @NEED_JAVA_TRUE@am__append_1 = java
124 subdir = modules/threads
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) \
146 DIST_COMMON = $(srcdir)/Makefile.am \
147 $(libscithreads_la_include_HEADERS) $(am__DIST_COMMON)
148 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
149 CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
151 CONFIG_CLEAN_VPATH_FILES =
152 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
153 am__vpath_adj = case $$p in \
154 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
157 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
159 am__nobase_strip_setup = \
160 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
162 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
163 am__nobase_list = $(am__nobase_strip_setup); \
164 for p in $$list; do echo "$$p $$p"; done | \
165 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
166 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
167 if (++n[$$2] == $(am__install_max)) \
168 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
169 END { for (dir in files) print dir, files[dir] }'
171 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
172 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
173 am__uninstall_files_from_dir = { \
175 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
176 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
177 $(am__cd) "$$dir" && rm -f $$files; }; \
179 am__installdirs = "$(DESTDIR)$(pkglibdir)" \
180 "$(DESTDIR)$(libscithreads_la_includedir)"
181 LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkglib_LTLIBRARIES)
182 libscithreads_la_LIBADD =
183 am__dirstamp = $(am__leading_dot)dirstamp
184 am__objects_1 = src/cpp/libscithreads_la-Thread_Wrapper.lo
185 am_libscithreads_la_OBJECTS = $(am__objects_1)
186 libscithreads_la_OBJECTS = $(am_libscithreads_la_OBJECTS)
187 AM_V_lt = $(am__v_lt_@AM_V@)
188 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
189 am__v_lt_0 = --silent
191 libscithreads_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \
192 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \
193 $(AM_CXXFLAGS) $(CXXFLAGS) $(libscithreads_la_LDFLAGS) \
195 @MAINTAINER_MODE_FALSE@am_libscithreads_la_rpath =
196 @MAINTAINER_MODE_TRUE@am_libscithreads_la_rpath = -rpath $(pkglibdir)
197 AM_V_P = $(am__v_P_@AM_V@)
198 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
201 AM_V_GEN = $(am__v_GEN_@AM_V@)
202 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
203 am__v_GEN_0 = @echo " GEN " $@;
205 AM_V_at = $(am__v_at_@AM_V@)
206 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
209 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
210 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
211 am__depfiles_maybe = depfiles
213 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
214 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
215 LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
216 $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
217 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
218 $(AM_CXXFLAGS) $(CXXFLAGS)
219 AM_V_CXX = $(am__v_CXX_@AM_V@)
220 am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
221 am__v_CXX_0 = @echo " CXX " $@;
224 CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
225 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
226 $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
227 AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
228 am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
229 am__v_CXXLD_0 = @echo " CXXLD " $@;
231 SOURCES = $(libscithreads_la_SOURCES)
232 DIST_SOURCES = $(libscithreads_la_SOURCES)
233 am__can_run_installinfo = \
234 case $$AM_UPDATE_INFO_DIR in \
236 *) (install-info --version) >/dev/null 2>&1;; \
238 HEADERS = $(libscithreads_la_include_HEADERS)
239 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
240 # Read a list of newline-separated strings from the standard input,
241 # and print each of them once, without duplicates. Input order is
243 am__uniquify_input = $(AWK) '\
244 BEGIN { nonempty = 0; } \
245 { items[$$0] = 1; nonempty = 1; } \
246 END { if (nonempty) { for (i in items) print i; }; } \
248 # Make sure the list of sources is unique. This is necessary because,
249 # e.g., the same source file might be shared among _SOURCES variables
250 # for different programs/libraries.
251 am__define_uniq_tagged_files = \
252 list='$(am__tagged_files)'; \
253 unique=`for i in $$list; do \
254 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
255 done | $(am__uniquify_input)`
258 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am \
259 $(top_srcdir)/config/depcomp \
260 $(top_srcdir)/config/mkinstalldirs
261 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
263 ALL_LINGUAS = @ALL_LINGUAS@
264 ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
266 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
270 ARPACK_LIBS = @ARPACK_LIBS@
272 AUTOCONF = @AUTOCONF@
273 AUTOHEADER = @AUTOHEADER@
274 AUTOMAKE = @AUTOMAKE@
275 AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
278 BLAS_CFLAGS = @BLAS_CFLAGS@
279 BLAS_LIBS = @BLAS_LIBS@
282 CCDEPMODE = @CCDEPMODE@
284 CHECKSTYLE = @CHECKSTYLE@
285 COBERTURA = @COBERTURA@
286 COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
287 COMMONS_IO = @COMMONS_IO@
288 COMMONS_LOGGING = @COMMONS_LOGGING@
290 CPPFLAGS = @CPPFLAGS@
291 CURL_CFLAGS = @CURL_CFLAGS@
292 CURL_CONFIG = @CURL_CONFIG@
293 CURL_LIBS = @CURL_LIBS@
294 CURL_VERSION = @CURL_VERSION@
297 CXXDEPMODE = @CXXDEPMODE@
298 CXXFLAGS = @CXXFLAGS@
299 CYGPATH_W = @CYGPATH_W@
301 DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
304 DOCBOOK_ROOT = @DOCBOOK_ROOT@
305 DOXYGEN_BIN = @DOXYGEN_BIN@
306 DSYMUTIL = @DSYMUTIL@
313 EIGEN_CPPFLAGS = @EIGEN_CPPFLAGS@
317 FFTW3_LIB = @FFTW3_LIB@
318 FFTW_ENABLE = @FFTW_ENABLE@
320 FLEXDOCK = @FLEXDOCK@
323 FREEHEP_GRAPHICS2D = @FREEHEP_GRAPHICS2D@
324 FREEHEP_GRAPHICSIO = @FREEHEP_GRAPHICSIO@
325 FREEHEP_GRAPHICSIO_EMF = @FREEHEP_GRAPHICSIO_EMF@
326 FREEHEP_IO = @FREEHEP_IO@
327 FREEHEP_UTIL = @FREEHEP_UTIL@
329 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
330 GIWS_BIN = @GIWS_BIN@
331 GLUEGEN2_RT = @GLUEGEN2_RT@
333 GMSGFMT_015 = @GMSGFMT_015@
334 GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
336 GUI_ENABLE = @GUI_ENABLE@
337 HAMCREST = @HAMCREST@
338 HAVE_CXX11 = @HAVE_CXX11@
339 HDF5_CFLAGS = @HDF5_CFLAGS@
340 HDF5_LIBS = @HDF5_LIBS@
341 HELP_ENABLE = @HELP_ENABLE@
343 INSTALL_DATA = @INSTALL_DATA@
344 INSTALL_PROGRAM = @INSTALL_PROGRAM@
345 INSTALL_SCRIPT = @INSTALL_SCRIPT@
346 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
347 INTLLIBS = @INTLLIBS@
348 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
352 JAVAC_DEBUG = @JAVAC_DEBUG@
355 JAVASCI_ENABLE = @JAVASCI_ENABLE@
356 JAVA_ENABLE = @JAVA_ENABLE@
358 JAVA_HOME = @JAVA_HOME@
359 JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
360 JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
362 JEUCLID_CORE = @JEUCLID_CORE@
365 JLATEXMATH = @JLATEXMATH@
366 JLATEXMATH_FOP = @JLATEXMATH_FOP@
368 JROSETTA_API = @JROSETTA_API@
369 JROSETTA_ENGINE = @JROSETTA_ENGINE@
371 LAPACK_LIBS = @LAPACK_LIBS@
377 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
378 LIBICONV = @LIBICONV@
386 LOGGING_LEVEL = @LOGGING_LEVEL@
388 LTLIBICONV = @LTLIBICONV@
389 LTLIBINTL = @LTLIBINTL@
390 LTLIBOBJS = @LTLIBOBJS@
391 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
393 LUCENE_ANALYZER = @LUCENE_ANALYZER@
394 LUCENE_PARSER = @LUCENE_PARSER@
396 MAKEINFO = @MAKEINFO@
397 MANIFEST_TOOL = @MANIFEST_TOOL@
398 MATIO_CFLAGS = @MATIO_CFLAGS@
399 MATIO_ENABLE = @MATIO_ENABLE@
400 MATIO_LIBS = @MATIO_LIBS@
402 MPI_ENABLE = @MPI_ENABLE@
405 MSGFMT_015 = @MSGFMT_015@
406 MSGMERGE = @MSGMERGE@
412 OCAMLDEP = @OCAMLDEP@
413 OCAMLLEX = @OCAMLLEX@
414 OCAMLOPT = @OCAMLOPT@
415 OCAMLYACC = @OCAMLYACC@
416 OPENMPI_CC = @OPENMPI_CC@
417 OPENMPI_CFLAGS = @OPENMPI_CFLAGS@
418 OPENMPI_CXX = @OPENMPI_CXX@
419 OPENMPI_CXXFLAGS = @OPENMPI_CXXFLAGS@
420 OPENMPI_LIBS = @OPENMPI_LIBS@
421 OPENMP_CFLAGS = @OPENMP_CFLAGS@
422 OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
423 OPENMP_ENABLE = @OPENMP_ENABLE@
424 OPENMP_LIBS = @OPENMP_LIBS@
428 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
429 PACKAGE_NAME = @PACKAGE_NAME@
430 PACKAGE_STRING = @PACKAGE_STRING@
431 PACKAGE_TARNAME = @PACKAGE_TARNAME@
432 PACKAGE_URL = @PACKAGE_URL@
433 PACKAGE_VERSION = @PACKAGE_VERSION@
434 PATH_SEPARATOR = @PATH_SEPARATOR@
435 PCRE_CFLAGS = @PCRE_CFLAGS@
436 PCRE_CONFIG = @PCRE_CONFIG@
437 PCRE_LIBS = @PCRE_LIBS@
438 PCRE_VERSION = @PCRE_VERSION@
439 PKG_CONFIG = @PKG_CONFIG@
444 RELOCATABLE = @RELOCATABLE@
447 SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
448 SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
449 SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
450 SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
451 SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
452 SCIRENDERER = @SCIRENDERER@
453 SCIRENDERER_CP = @SCIRENDERER_CP@
454 SCI_CFLAGS = @SCI_CFLAGS@
455 SCI_CXXFLAGS = @SCI_CXXFLAGS@
456 SCI_FFLAGS = @SCI_FFLAGS@
457 SCI_LDFLAGS = @SCI_LDFLAGS@
459 SET_MAKE = @SET_MAKE@
460 SET_RELOCATABLE = @SET_RELOCATABLE@
465 SWIG_BIN = @SWIG_BIN@
466 SWIG_JAVA = @SWIG_JAVA@
467 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
468 SWIG_SCILAB = @SWIG_SCILAB@
469 TCLTK_LIBS = @TCLTK_LIBS@
470 TCL_INC_PATH = @TCL_INC_PATH@
471 TK_INC_PATH = @TK_INC_PATH@
472 UMFPACK_CFLAGS = @UMFPACK_CFLAGS@
473 UMFPACK_ENABLE = @UMFPACK_ENABLE@
474 UMFPACK_LIB = @UMFPACK_LIB@
476 VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
477 VALGRIND_LIBS = @VALGRIND_LIBS@
479 WITH_OCAML = @WITH_OCAML@
480 WITH_TKSCI = @WITH_TKSCI@
481 XCOS_ENABLE = @XCOS_ENABLE@
482 XGETTEXT = @XGETTEXT@
483 XGETTEXT_015 = @XGETTEXT_015@
484 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
486 XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
487 XML_APIS_EXT = @XML_APIS_EXT@
488 XML_CONFIG = @XML_CONFIG@
489 XML_FLAGS = @XML_FLAGS@
490 XML_LIBS = @XML_LIBS@
491 XML_VERSION = @XML_VERSION@
492 X_CFLAGS = @X_CFLAGS@
493 X_EXTRA_LIBS = @X_EXTRA_LIBS@
495 X_PRE_LIBS = @X_PRE_LIBS@
498 abs_builddir = @abs_builddir@
499 abs_srcdir = @abs_srcdir@
500 abs_top_builddir = @abs_top_builddir@
501 abs_top_srcdir = @abs_top_srcdir@
502 ac_ct_AR = @ac_ct_AR@
503 ac_ct_CC = @ac_ct_CC@
504 ac_ct_CXX = @ac_ct_CXX@
505 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
506 ac_ct_F77 = @ac_ct_F77@
507 am__include = @am__include@
508 am__leading_dot = @am__leading_dot@
509 am__quote = @am__quote@
511 am__untar = @am__untar@
514 build_alias = @build_alias@
515 build_cpu = @build_cpu@
516 build_os = @build_os@
517 build_vendor = @build_vendor@
518 builddir = @builddir@
519 cxx_present = @cxx_present@
521 datarootdir = @datarootdir@
524 exec_prefix = @exec_prefix@
526 host_alias = @host_alias@
527 host_cpu = @host_cpu@
529 host_vendor = @host_vendor@
531 includedir = @includedir@
533 install_sh = @install_sh@
535 libexecdir = @libexecdir@
536 localedir = @localedir@
537 localstatedir = @localstatedir@
540 oldincludedir = @oldincludedir@
543 program_transform_name = @program_transform_name@
546 sharedstatedir = @sharedstatedir@
548 sysconfdir = @sysconfdir@
549 target_alias = @target_alias@
550 top_build_prefix = @top_build_prefix@
551 top_builddir = @top_builddir@
552 top_srcdir = @top_srcdir@
553 yacc_present = @yacc_present@
554 THREADS_CPP_SOURCES = \
555 src/cpp/Thread_Wrapper.cpp
557 libscithreads_la_CPPFLAGS = \
558 -I$(srcdir)/includes/
560 @MAINTAINER_MODE_TRUE@pkglib_LTLIBRARIES = libscithreads.la
561 @MAINTAINER_MODE_FALSE@noinst_LTLIBRARIES = libscithreads.la
562 libscithreads_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION) -lpthread
563 libscithreads_la_SOURCES = $(THREADS_CPP_SOURCES)
565 # For the code check (splint)
566 CHECK_SRC = $(THREADS_CPP_SOURCES)
567 INCLUDE_FLAGS = $(libscithreads_la_CPPFLAGS)
569 # Many stuff depends on this one ... commented
570 # libscithreads_la_LIBADD = libscithreads.la
575 #### threads : Conf files ####
576 libscithreads_la_rootdir = $(mydatadir)
578 #### threads : init scripts ####
579 # libscithreads_la_etcdir = $(mydatadir)/etc
580 # libscithreads_la_etc_DATA = etc/threads.quit etc/threads.start
582 #### threads : gateway declaration ####
583 # libscithreads_la_sci_gatewaydir = $(mydatadir)/sci_gateway
584 # libscithreads_la_sci_gateway_DATA = sci_gateway/threads_gateway.xml
586 #### threads : include files ####
587 libscithreads_la_includedir = $(pkgincludedir)
588 libscithreads_la_include_HEADERS = \
589 includes/Thread_Wrapper.h \
590 includes/dynlib_threads.h
593 # Where all the Scilab stuff is installed (macros, help, ...)
594 mydatadir = $(pkgdatadir)/modules/$(modulename)
596 # Set AM_* SCI detected settings
597 AM_CPPFLAGS = $(SCI_CPPFLAGS)
598 AM_CFLAGS = $(SCI_CFLAGS)
599 AM_CXXFLAGS = $(SCI_CXXFLAGS)
600 # append includes to AM_FFLAGS to manage fortran includes
601 AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
603 # Tag shared libraries with the Scilab version
604 AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
607 SPLINT_OPTIONS = -weak -booltype BOOL
609 ########################### JAVA ######################################
610 #### We are delegating java compilation to ant... Thanks to that
611 #### the procedure will be the same with Microsoft Windows (C)
613 #######################################################################
614 TARGETS_ALL = $(am__append_1)
616 ################ MACROS ######################
617 # Rule to build a macro
618 # NOT USED AT THE MOMENT
621 ########### INSTALL DOCUMENTATION ###################
623 # Install documentation files into the right target
624 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
625 # automake needs the html files to be present which is not the case when
626 # we are building Scilab
628 # Where it should be installed
629 pkgdocdir = $(mydatadir)
631 # What is the mask of the help source
634 # What is the mask of the MathML sources
637 ########### INSTALL DATA ###################
638 # Install macros, help & demos
639 # Where it should be installed
640 pkgmacrosdir = $(mydatadir)
641 # Which directory we process
643 # Mask of the Scilab sources macros
645 # Mask of the Scilab executable sources macros
646 MACROBUILDMASK = *.sce
647 # Mask of the Scilab compiled macros
649 # List of the standard directory for tests
650 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
651 # Where the demos should be installed
652 pkgdemosdir = $(mydatadir)
653 # List of the standard directory for demos
655 # List of the standard directory for examples
656 EXAMPLES_DIR = examples
657 # Where to export JAVA archives (.jar)
662 HELP_CHAPTERDIR = help/
663 HELP_CHAPTERFILE = addchapter.sce
664 HELP_CHAPTERLANG = en_US fr_FR pt_BR
668 .SUFFIXES: .sci .bin .cpp .lo .o .obj
669 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
671 case '$(am__configure_deps)' in \
673 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
674 && { if test -f $@; then exit 0; else break; fi; }; \
678 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/threads/Makefile'; \
679 $(am__cd) $(top_srcdir) && \
680 $(AUTOMAKE) --foreign modules/threads/Makefile
681 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
684 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
686 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
687 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
689 $(top_srcdir)/Makefile.incl.am $(am__empty):
691 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
692 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
694 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
695 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
696 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
697 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
698 $(am__aclocal_m4_deps):
700 clean-noinstLTLIBRARIES:
701 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
702 @list='$(noinst_LTLIBRARIES)'; \
703 locs=`for p in $$list; do echo $$p; done | \
704 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
706 test -z "$$locs" || { \
707 echo rm -f $${locs}; \
711 install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
713 @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
714 list2=; for p in $$list; do \
715 if test -f $$p; then \
716 list2="$$list2 $$p"; \
719 test -z "$$list2" || { \
720 echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
721 $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
722 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
723 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
726 uninstall-pkglibLTLIBRARIES:
728 @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
729 for p in $$list; do \
731 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
732 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
735 clean-pkglibLTLIBRARIES:
736 -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
737 @list='$(pkglib_LTLIBRARIES)'; \
738 locs=`for p in $$list; do echo $$p; done | \
739 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
741 test -z "$$locs" || { \
742 echo rm -f $${locs}; \
745 src/cpp/$(am__dirstamp):
747 @: > src/cpp/$(am__dirstamp)
748 src/cpp/$(DEPDIR)/$(am__dirstamp):
749 @$(MKDIR_P) src/cpp/$(DEPDIR)
750 @: > src/cpp/$(DEPDIR)/$(am__dirstamp)
751 src/cpp/libscithreads_la-Thread_Wrapper.lo: src/cpp/$(am__dirstamp) \
752 src/cpp/$(DEPDIR)/$(am__dirstamp)
754 libscithreads.la: $(libscithreads_la_OBJECTS) $(libscithreads_la_DEPENDENCIES) $(EXTRA_libscithreads_la_DEPENDENCIES)
755 $(AM_V_CXXLD)$(libscithreads_la_LINK) $(am_libscithreads_la_rpath) $(libscithreads_la_OBJECTS) $(libscithreads_la_LIBADD) $(LIBS)
759 -rm -f src/cpp/*.$(OBJEXT)
765 @AMDEP_TRUE@@am__include@ @am__quote@src/cpp/$(DEPDIR)/libscithreads_la-Thread_Wrapper.Plo@am__quote@
768 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
769 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
770 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
771 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
772 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
773 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
776 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
777 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
778 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
779 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
780 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
781 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
784 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
785 @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
786 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
787 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
788 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
789 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
791 src/cpp/libscithreads_la-Thread_Wrapper.lo: src/cpp/Thread_Wrapper.cpp
792 @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscithreads_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libscithreads_la-Thread_Wrapper.lo -MD -MP -MF src/cpp/$(DEPDIR)/libscithreads_la-Thread_Wrapper.Tpo -c -o src/cpp/libscithreads_la-Thread_Wrapper.lo `test -f 'src/cpp/Thread_Wrapper.cpp' || echo '$(srcdir)/'`src/cpp/Thread_Wrapper.cpp
793 @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libscithreads_la-Thread_Wrapper.Tpo src/cpp/$(DEPDIR)/libscithreads_la-Thread_Wrapper.Plo
794 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/cpp/Thread_Wrapper.cpp' object='src/cpp/libscithreads_la-Thread_Wrapper.lo' libtool=yes @AMDEPBACKSLASH@
795 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
796 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscithreads_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libscithreads_la-Thread_Wrapper.lo `test -f 'src/cpp/Thread_Wrapper.cpp' || echo '$(srcdir)/'`src/cpp/Thread_Wrapper.cpp
803 -rm -rf src/cpp/.libs src/cpp/_libs
804 install-libscithreads_la_includeHEADERS: $(libscithreads_la_include_HEADERS)
806 @list='$(libscithreads_la_include_HEADERS)'; test -n "$(libscithreads_la_includedir)" || list=; \
807 if test -n "$$list"; then \
808 echo " $(MKDIR_P) '$(DESTDIR)$(libscithreads_la_includedir)'"; \
809 $(MKDIR_P) "$(DESTDIR)$(libscithreads_la_includedir)" || exit 1; \
811 for p in $$list; do \
812 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
814 done | $(am__base_list) | \
815 while read files; do \
816 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libscithreads_la_includedir)'"; \
817 $(INSTALL_HEADER) $$files "$(DESTDIR)$(libscithreads_la_includedir)" || exit $$?; \
820 uninstall-libscithreads_la_includeHEADERS:
822 @list='$(libscithreads_la_include_HEADERS)'; test -n "$(libscithreads_la_includedir)" || list=; \
823 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
824 dir='$(DESTDIR)$(libscithreads_la_includedir)'; $(am__uninstall_files_from_dir)
826 ID: $(am__tagged_files)
827 $(am__define_uniq_tagged_files); mkid -fID $$unique
831 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
834 $(am__define_uniq_tagged_files); \
836 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
837 test -n "$$unique" || unique=$$empty_fix; \
838 if test $$# -gt 0; then \
839 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
842 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
849 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
850 $(am__define_uniq_tagged_files); \
851 test -z "$(CTAGS_ARGS)$$unique" \
852 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
856 here=`$(am__cd) $(top_builddir) && pwd` \
857 && $(am__cd) $(top_srcdir) \
858 && gtags -i $(GTAGS_ARGS) "$$here"
859 cscopelist: cscopelist-am
861 cscopelist-am: $(am__tagged_files)
862 list='$(am__tagged_files)'; \
863 case "$(srcdir)" in \
864 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
865 *) sdir=$(subdir)/$(srcdir) ;; \
867 for i in $$list; do \
868 if test -f "$$i"; then \
869 echo "$(subdir)/$$i"; \
873 done >> $(top_builddir)/cscope.files
876 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
878 distdir: $(DISTFILES)
879 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
880 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
881 list='$(DISTFILES)'; \
882 dist_files=`for file in $$list; do echo $$file; done | \
883 sed -e "s|^$$srcdirstrip/||;t" \
884 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
885 case $$dist_files in \
886 */*) $(MKDIR_P) `echo "$$dist_files" | \
887 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
890 for file in $$dist_files; do \
891 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
892 if test -d $$d/$$file; then \
893 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
894 if test -d "$(distdir)/$$file"; then \
895 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
897 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
898 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
899 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
901 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
903 test -f "$(distdir)/$$file" \
904 || cp -p $$d/$$file "$(distdir)/$$file" \
909 $(MAKE) $(AM_MAKEFLAGS) check-local
911 all-am: Makefile $(LTLIBRARIES) $(HEADERS) all-local
913 for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscithreads_la_includedir)"; do \
914 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
917 install-exec: install-exec-am
918 install-data: install-data-am
919 uninstall: uninstall-am
922 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
924 installcheck: installcheck-am
926 if test -z '$(STRIP)'; then \
927 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
928 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
931 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
932 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
933 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
940 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
941 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
942 -rm -f src/cpp/$(DEPDIR)/$(am__dirstamp)
943 -rm -f src/cpp/$(am__dirstamp)
945 maintainer-clean-generic:
946 @echo "This command is intended for maintainers to use"
947 @echo "it deletes files that may require special tools to rebuild."
950 clean-am: clean-generic clean-libtool clean-local \
951 clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES mostlyclean-am
953 distclean: distclean-am
954 -rm -rf src/cpp/$(DEPDIR)
956 distclean-am: clean-am distclean-compile distclean-generic \
957 distclean-local distclean-tags
971 install-data-am: install-data-local \
972 install-libscithreads_la_includeHEADERS
974 install-dvi: install-dvi-am
978 install-exec-am: install-pkglibLTLIBRARIES
980 install-html: install-html-am
982 install-html-am: install-html-local
984 install-info: install-info-am
990 install-pdf: install-pdf-am
994 install-ps: install-ps-am
1000 maintainer-clean: maintainer-clean-am
1001 -rm -rf src/cpp/$(DEPDIR)
1003 maintainer-clean-am: distclean-am maintainer-clean-generic
1005 mostlyclean: mostlyclean-am
1007 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1018 uninstall-am: uninstall-libscithreads_la_includeHEADERS \
1019 uninstall-pkglibLTLIBRARIES
1021 .MAKE: check-am install-am install-strip
1023 .PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am \
1024 check-local clean clean-generic clean-libtool clean-local \
1025 clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES cscopelist-am \
1026 ctags ctags-am distclean distclean-compile distclean-generic \
1027 distclean-libtool distclean-local distclean-tags distdir dvi \
1028 dvi-am html html-am info info-am install install-am \
1029 install-data install-data-am install-data-local install-dvi \
1030 install-dvi-am install-exec install-exec-am install-html \
1031 install-html-am install-html-local install-info \
1032 install-info-am install-libscithreads_la_includeHEADERS \
1033 install-man install-pdf install-pdf-am \
1034 install-pkglibLTLIBRARIES install-ps install-ps-am \
1035 install-strip installcheck installcheck-am installdirs \
1036 maintainer-clean maintainer-clean-generic mostlyclean \
1037 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
1038 pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \
1039 uninstall-libscithreads_la_includeHEADERS \
1040 uninstall-pkglibLTLIBRARIES
1045 # This target enables tests for Scilab
1046 check-local: $(top_builddir)/scilab-bin test
1047 if test -d $(mydatadir)/tests; then \
1048 @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
1051 if test -f build.xml; then \
1052 $(ANT) checkstyle; \
1054 if test -x "$(SPLINT)"; then \
1055 $(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); \
1057 @NEED_JAVA_TRUE@java:
1058 # Some configurations needs to export JAVA_HOME in the current env
1059 @NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
1060 @NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1061 @NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
1062 @NEED_JAVA_TRUE@ $(ANT); \
1065 @NEED_JAVA_TRUE@clean-java:
1066 # Some configurations needs to export JAVA_HOME in the current env
1067 @NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
1068 @NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1069 @NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
1070 @NEED_JAVA_TRUE@ $(ANT) clean; \
1071 @NEED_JAVA_TRUE@ fi;
1073 # If the user request for the SWIG generation of the wrappers Java => C/C++
1074 # We call the target swig-build on the variable SWIG_WRAPPERS
1076 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
1077 @SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
1078 @SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
1079 @SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \
1080 @SWIG_TRUE@ for file in $(SWIG_WRAPPERS) ; do \
1081 @SWIG_TRUE@ echo "Swig process of $$file (Java) ..."; \
1082 @SWIG_TRUE@ $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \
1086 @SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS)
1087 @SWIG_TRUE@ @SWIG_OUTDIR=src/swig/; \
1088 @SWIG_TRUE@ if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
1089 @SWIG_TRUE@ for file in $(SWIG_SCILAB_WRAPPERS) ; do \
1090 @SWIG_TRUE@ echo "Swig process of $$file (Scilab) ..."; \
1091 @SWIG_TRUE@ $(SWIG_BIN) $(SWIG_OPTIONS) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \
1095 # If the user request for the SWIG generation of the wrappers Java => C/C++
1096 # We call the target swig-build on the variable SWIG_WRAPPERS
1098 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
1099 @GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/; \
1100 @GIWS_TRUE@ MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
1101 @GIWS_TRUE@ if test -n "$(GIWS_WRAPPERS)"; then \
1102 @GIWS_TRUE@ for file in $(GIWS_WRAPPERS) ; do \
1103 @GIWS_TRUE@ echo "GIWS process of $$file ..."; \
1104 @GIWS_TRUE@ if test -z "$(GIWS_OPTIONS)"; then \
1105 @GIWS_TRUE@ $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
1107 @GIWS_TRUE@ echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
1108 @GIWS_TRUE@ $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
1113 @GIWS_TRUE@giws-exception:
1114 @GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
1115 @GIWS_TRUE@ echo "GIWS: Generation of exception class ..."; \
1116 @GIWS_TRUE@ $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR
1119 -@( if test ! -x $(top_builddir)/scilab-bin; then \
1120 echo "Error : Cannot build $< : Scilab has not been built"; \
1122 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
1125 # Removes the macros
1127 # Removes macros (*.bin generated from .sci)
1128 @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1129 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
1130 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
1134 # More tests could be added here
1135 @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1136 if test -f build.xml -a $$USEANT -eq 1; then \
1140 all-local: $(TARGETS_ALL)
1143 -@( if test ! -x $(top_builddir)/scilab-bin; then \
1144 echo "Error : Cannot build $< : Scilab has not been build"; \
1146 echo "Creating $@"; \
1147 $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
1152 install-data-local-local:
1153 # Mainly for javasci
1154 @if test -d $(srcdir)/javadoc; then \
1155 cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
1157 # If the user wants the help sources to be installed
1158 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
1159 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
1160 @INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/$$lang; then \
1161 @INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
1162 @INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
1163 @INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
1164 @INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
1165 @INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
1166 @INSTALL_HELP_XML_TRUE@ done ; \
1167 @INSTALL_HELP_XML_TRUE@ fi; \
1168 @INSTALL_HELP_XML_TRUE@ fi; \
1169 @INSTALL_HELP_XML_TRUE@ done; \
1170 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
1171 @INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/mml/; then \
1172 @INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
1173 @INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
1174 @INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
1175 @INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
1176 @INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
1177 @INSTALL_HELP_XML_TRUE@ done ; \
1178 @INSTALL_HELP_XML_TRUE@ fi; \
1179 @INSTALL_HELP_XML_TRUE@ fi
1182 @echo "-------- Install tests (if any) --------"; \
1183 for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
1184 if test -d $(srcdir)/$$dir/; then \
1185 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1186 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1187 if test -d "$(srcdir)/$$dir/$$file"; then \
1188 echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
1189 $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
1191 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1192 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1197 # Install the help chapter
1198 @echo "-------- Install the help chapter (if any) --------"; \
1199 for lang in $(HELP_CHAPTERLANG); do \
1200 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
1201 if test -f $$HELPFILE; then \
1202 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1203 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1204 echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1205 $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1208 # Install the demos & examples
1209 @echo "-------- Install demos & examples (if any) --------"; \
1210 for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
1211 if test -d $(srcdir)/$$dir/; then \
1212 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
1213 for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1214 if test -d "$(srcdir)/$$dir/$$file"; then \
1215 echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
1216 $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
1218 echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1219 $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1224 # Install the macros
1225 @echo "-------- Install macros (if any) --------"; \
1226 for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1227 $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1228 if test -d $(srcdir)/$$dir/; then \
1229 FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
1230 if test -n "$(MACROSSPECIALEXT)"; then \
1232 for specialExt in $(MACROSSPECIALEXT); do \
1233 specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
1235 FILELIST="$$FILELIST $$specialExtDir"; \
1237 for file in `ls -1 $$FILELIST 2>/dev/null`; do \
1238 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
1239 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
1243 # Install java files (.jar)
1244 @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
1245 echo "-------- Install jar files --------"; \
1246 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
1247 for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
1248 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
1249 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
1253 ########### CLEAN ###################
1254 # Clean help (generated automatically by Scilab)
1255 # It used to clean the macro (clean-macros) but this was causing
1256 # make clean && make to fail Scilab startup
1257 @NEED_JAVA_TRUE@clean-local: clean-java
1258 @NEED_JAVA_FALSE@clean-local:
1261 rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
1263 .PHONY: macros java swig giws
1265 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1266 # Otherwise a system limit (for SysV at least) may be exceeded.