a412bb33b8ba3a2da9f156a721e995bf03bdc4f1
[scilab.git] / scilab / modules / graphic_objects / Makefile.in
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6 # Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
15
16 @SET_MAKE@
17
18 #
19 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
20 # Copyright (C) DIGITEO - 2010 - Allan CORNET
21
22 # This file must be used under the terms of the CeCILL.
23 # This source file is licensed as described in the file COPYING, which
24 # you should have received as part of this distribution.  The terms
25 # are also available at    
26 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
27 #
28
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>
32 #
33 # This file must be used under the terms of the CeCILL.
34 # This source file is licensed as described in the file COPYING, which
35 # you should have received as part of this distribution.  The terms
36 # are also available at
37 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
38 #
39
40 ##########
41 ### Makefile included stuff
42 ### Target, variable, suffixes which are supposed to be usefull in every makefile.am
43 ##########
44
45
46 VPATH = @srcdir@
47 pkgdatadir = $(datadir)/@PACKAGE@
48 pkgincludedir = $(includedir)/@PACKAGE@
49 pkglibdir = $(libdir)/@PACKAGE@
50 pkglibexecdir = $(libexecdir)/@PACKAGE@
51 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
52 install_sh_DATA = $(install_sh) -c -m 644
53 install_sh_PROGRAM = $(install_sh) -c
54 install_sh_SCRIPT = $(install_sh) -c
55 INSTALL_HEADER = $(INSTALL_DATA)
56 transform = $(program_transform_name)
57 NORMAL_INSTALL = :
58 PRE_INSTALL = :
59 POST_INSTALL = :
60 NORMAL_UNINSTALL = :
61 PRE_UNINSTALL = :
62 POST_UNINSTALL = :
63 build_triplet = @build@
64 host_triplet = @host@
65 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
66         $(top_srcdir)/Makefile.incl.am
67 @NEED_JAVA_TRUE@am__append_1 = java
68
69 # With --enable-compilation-tests, launch java unitary tests
70 @COMPILATION_TESTS_TRUE@am__append_2 = test
71 @GUI_TRUE@am__append_3 = libscigraphic_objects.la 
72 subdir = modules/graphic_objects
73 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
74 am__aclocal_m4_deps = $(top_srcdir)/m4/docbook.m4 \
75         $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
76         $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
77         $(top_srcdir)/m4/intel_compiler.m4 \
78         $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
79         $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/libsmath.m4 \
80         $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/libxml2.m4 \
81         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
82         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
83         $(top_srcdir)/m4/ocaml.m4 $(top_srcdir)/m4/pcre.m4 \
84         $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/pvm.m4 \
85         $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \
86         $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \
87         $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac
88 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
89         $(ACLOCAL_M4)
90 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
91 CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
92 CONFIG_CLEAN_FILES =
93 CONFIG_CLEAN_VPATH_FILES =
94 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
95 am__vpath_adj = case $$p in \
96     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
97     *) f=$$p;; \
98   esac;
99 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
100 am__install_max = 40
101 am__nobase_strip_setup = \
102   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
103 am__nobase_strip = \
104   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
105 am__nobase_list = $(am__nobase_strip_setup); \
106   for p in $$list; do echo "$$p $$p"; done | \
107   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
108   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
109     if (++n[$$2] == $(am__install_max)) \
110       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
111     END { for (dir in files) print dir, files[dir] }'
112 am__base_list = \
113   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
114   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
115 am__installdirs = "$(DESTDIR)$(pkglibdir)" \
116         "$(DESTDIR)$(libscigraphic_objects_la_etcdir)" \
117         "$(DESTDIR)$(libscigraphic_objects_la_rootdir)" \
118         "$(DESTDIR)$(libscigraphic_objects_la_sci_gatewaydir)"
119 LTLIBRARIES = $(pkglib_LTLIBRARIES)
120 libscigraphic_objects_disable_la_LIBADD =
121 am__objects_1 = libscigraphic_objects_disable_la-nographic_objects.lo
122 am_libscigraphic_objects_disable_la_OBJECTS = $(am__objects_1)
123 libscigraphic_objects_disable_la_OBJECTS =  \
124         $(am_libscigraphic_objects_disable_la_OBJECTS)
125 libscigraphic_objects_disable_la_LINK = $(LIBTOOL) --tag=CC \
126         $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
127         $(libscigraphic_objects_disable_la_CFLAGS) $(CFLAGS) \
128         $(libscigraphic_objects_disable_la_LDFLAGS) $(LDFLAGS) -o $@
129 libscigraphic_objects_la_DEPENDENCIES =  \
130         $(top_builddir)/modules/core/libscicore.la \
131         $(top_builddir)/libs/MALLOC/libscimalloc.la \
132         $(top_builddir)/modules/output_stream/libscioutput_stream.la
133 am__objects_2 =
134 am__objects_3 = libscigraphic_objects_la-gw_graphic_objects.lo
135 am__objects_4 = libscigraphic_objects_la-sci_graphicfunction.lo
136 am_libscigraphic_objects_la_OBJECTS = $(am__objects_2) \
137         $(am__objects_2) $(am__objects_3) $(am__objects_4) \
138         $(am__objects_2)
139 libscigraphic_objects_la_OBJECTS =  \
140         $(am_libscigraphic_objects_la_OBJECTS)
141 libscigraphic_objects_la_LINK = $(LIBTOOL) --tag=CXX \
142         $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \
143         $(AM_CXXFLAGS) $(CXXFLAGS) $(libscigraphic_objects_la_LDFLAGS) \
144         $(LDFLAGS) -o $@
145 @GUI_TRUE@am_libscigraphic_objects_la_rpath = -rpath $(pkglibdir)
146 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
147 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
148 am__depfiles_maybe = depfiles
149 am__mv = mv -f
150 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
151         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
152 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
153         --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
154         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
155 CCLD = $(CC)
156 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
157         --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
158         $(LDFLAGS) -o $@
159 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
160         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
161 LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
162         --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
163         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
164 CXXLD = $(CXX)
165 CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
166         --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
167         $(LDFLAGS) -o $@
168 SOURCES = $(libscigraphic_objects_disable_la_SOURCES) \
169         $(libscigraphic_objects_la_SOURCES)
170 DIST_SOURCES = $(libscigraphic_objects_disable_la_SOURCES) \
171         $(libscigraphic_objects_la_SOURCES)
172 DATA = $(libscigraphic_objects_la_etc_DATA) \
173         $(libscigraphic_objects_la_root_DATA) \
174         $(libscigraphic_objects_la_sci_gateway_DATA)
175 ETAGS = etags
176 CTAGS = ctags
177 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
178 ACLOCAL = @ACLOCAL@
179 ALL_LINGUAS = @ALL_LINGUAS@
180 AMTAR = @AMTAR@
181 ANT = @ANT@
182 ANTLR = @ANTLR@
183 AR = @AR@
184 AUTOCONF = @AUTOCONF@
185 AUTOHEADER = @AUTOHEADER@
186 AUTOMAKE = @AUTOMAKE@
187 AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
188 AWK = @AWK@
189 BATIK = @BATIK@
190 BLAS_LIBS = @BLAS_LIBS@
191 BSH = @BSH@
192 CC = @CC@
193 CCDEPMODE = @CCDEPMODE@
194 CFLAGS = @CFLAGS@
195 CHECKSTYLE = @CHECKSTYLE@
196 COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
197 COMMONS_IO = @COMMONS_IO@
198 COMMONS_LOGGING = @COMMONS_LOGGING@
199 CPP = @CPP@
200 CPPFLAGS = @CPPFLAGS@
201 CXX = @CXX@
202 CXXCPP = @CXXCPP@
203 CXXDEPMODE = @CXXDEPMODE@
204 CXXFLAGS = @CXXFLAGS@
205 CYGPATH_W = @CYGPATH_W@
206 DEFS = @DEFS@
207 DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
208 DEPDIR = @DEPDIR@
209 DOCBOOK_ROOT = @DOCBOOK_ROOT@
210 DSYMUTIL = @DSYMUTIL@
211 DUMPBIN = @DUMPBIN@
212 ECHO_C = @ECHO_C@
213 ECHO_N = @ECHO_N@
214 ECHO_T = @ECHO_T@
215 EGREP = @EGREP@
216 EXEEXT = @EXEEXT@
217 F77 = @F77@
218 FFLAGS = @FFLAGS@
219 FFTW3_LIB = @FFTW3_LIB@
220 FFTW_ENABLE = @FFTW_ENABLE@
221 FGREP = @FGREP@
222 FLEXDOCK = @FLEXDOCK@
223 FLIBS = @FLIBS@
224 FOP = @FOP@
225 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
226 GIWS_BIN = @GIWS_BIN@
227 GLUEGEN_RT = @GLUEGEN_RT@
228 GMSGFMT = @GMSGFMT@
229 GMSGFMT_015 = @GMSGFMT_015@
230 GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
231 GREP = @GREP@
232 GUI_ENABLE = @GUI_ENABLE@
233 HDF5_CFLAGS = @HDF5_CFLAGS@
234 HDF5_ENABLE = @HDF5_ENABLE@
235 HDF5_LIBS = @HDF5_LIBS@
236 HELP_ENABLE = @HELP_ENABLE@
237 INSTALL = @INSTALL@
238 INSTALL_DATA = @INSTALL_DATA@
239 INSTALL_PROGRAM = @INSTALL_PROGRAM@
240 INSTALL_SCRIPT = @INSTALL_SCRIPT@
241 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
242 INTLLIBS = @INTLLIBS@
243 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
244 JAR = @JAR@
245 JAVA = @JAVA@
246 JAVAC = @JAVAC@
247 JAVAH = @JAVAH@
248 JAVASCI_ENABLE = @JAVASCI_ENABLE@
249 JAVA_DEBUG_OPTIONS = @JAVA_DEBUG_OPTIONS@
250 JAVA_ENABLE = @JAVA_ENABLE@
251 JAVA_G = @JAVA_G@
252 JAVA_HOME = @JAVA_HOME@
253 JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
254 JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
255 JDB = @JDB@
256 JEUCLID_CORE = @JEUCLID_CORE@
257 JGRAPHX = @JGRAPHX@
258 JHALL = @JHALL@
259 JHDF5 = @JHDF5@
260 JLATEXMATH = @JLATEXMATH@
261 JLATEXMATH_FOP = @JLATEXMATH_FOP@
262 JOGL = @JOGL@
263 JROSETTA_API = @JROSETTA_API@
264 JROSETTA_ENGINE = @JROSETTA_ENGINE@
265 JUNIT = @JUNIT@
266 LAPACK_LIBS = @LAPACK_LIBS@
267 LD = @LD@
268 LDFLAGS = @LDFLAGS@
269 LIBICONV = @LIBICONV@
270 LIBINTL = @LIBINTL@
271 LIBM = @LIBM@
272 LIBOBJS = @LIBOBJS@
273 LIBS = @LIBS@
274 LIBTOOL = @LIBTOOL@
275 LIPO = @LIPO@
276 LN_S = @LN_S@
277 LOOKS = @LOOKS@
278 LTLIBICONV = @LTLIBICONV@
279 LTLIBINTL = @LTLIBINTL@
280 LTLIBOBJS = @LTLIBOBJS@
281 MAINT = @MAINT@
282 MAKEINFO = @MAKEINFO@
283 MATIO_CFLAGS = @MATIO_CFLAGS@
284 MATIO_ENABLE = @MATIO_ENABLE@
285 MATIO_LIBS = @MATIO_LIBS@
286 MKDIR_P = @MKDIR_P@
287 MSGCAT = @MSGCAT@
288 MSGFMT = @MSGFMT@
289 MSGFMT_015 = @MSGFMT_015@
290 MSGMERGE = @MSGMERGE@
291 NM = @NM@
292 NMEDIT = @NMEDIT@
293 OBJDUMP = @OBJDUMP@
294 OBJEXT = @OBJEXT@
295 OCAMLC = @OCAMLC@
296 OCAMLDEP = @OCAMLDEP@
297 OCAMLLEX = @OCAMLLEX@
298 OCAMLOPT = @OCAMLOPT@
299 OCAMLYACC = @OCAMLYACC@
300 OPENMP_CFLAGS = @OPENMP_CFLAGS@
301 OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
302 OPENMP_ENABLE = @OPENMP_ENABLE@
303 OPENMP_LIBS = @OPENMP_LIBS@
304 OTOOL = @OTOOL@
305 OTOOL64 = @OTOOL64@
306 PACKAGE = @PACKAGE@
307 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
308 PACKAGE_NAME = @PACKAGE_NAME@
309 PACKAGE_STRING = @PACKAGE_STRING@
310 PACKAGE_TARNAME = @PACKAGE_TARNAME@
311 PACKAGE_URL = @PACKAGE_URL@
312 PACKAGE_VERSION = @PACKAGE_VERSION@
313 PATH_SEPARATOR = @PATH_SEPARATOR@
314 PCRE_CFLAGS = @PCRE_CFLAGS@
315 PCRE_CONFIG = @PCRE_CONFIG@
316 PCRE_LIBS = @PCRE_LIBS@
317 PCRE_VERSION = @PCRE_VERSION@
318 PKG_CONFIG = @PKG_CONFIG@
319 POSUB = @POSUB@
320 POW_LIB = @POW_LIB@
321 PVMGETARCH = @PVMGETARCH@
322 PVM_ARCH = @PVM_ARCH@
323 PVM_ENABLE = @PVM_ENABLE@
324 PVM_INCLUDE = @PVM_INCLUDE@
325 PVM_LIB = @PVM_LIB@
326 PYTHON = @PYTHON@
327 QDOX = @QDOX@
328 RANLIB = @RANLIB@
329 RELOCATABLE = @RELOCATABLE@
330 RT_LIB = @RT_LIB@
331 SAXON = @SAXON@
332 SCICOS_ENABLE = @SCICOS_ENABLE@
333 SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
334 SED = @SED@
335 SET_MAKE = @SET_MAKE@
336 SET_RELOCATABLE = @SET_RELOCATABLE@
337 SHELL = @SHELL@
338 SKINLF = @SKINLF@
339 SPLINT = @SPLINT@
340 STRIP = @STRIP@
341 SWIG_BIN = @SWIG_BIN@
342 SWIG_JAVA = @SWIG_JAVA@
343 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
344 TCLTK_LIBS = @TCLTK_LIBS@
345 TCL_INC_PATH = @TCL_INC_PATH@
346 TESTNG = @TESTNG@
347 TK_INC_PATH = @TK_INC_PATH@
348 UMFPACK_ENABLE = @UMFPACK_ENABLE@
349 UMFPACK_LIB = @UMFPACK_LIB@
350 USE_NLS = @USE_NLS@
351 VERSION = @VERSION@
352 WITH_OCAML = @WITH_OCAML@
353 WITH_TKSCI = @WITH_TKSCI@
354 XGETTEXT = @XGETTEXT@
355 XGETTEXT_015 = @XGETTEXT_015@
356 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
357 XMKMF = @XMKMF@
358 XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
359 XML_APIS_EXT = @XML_APIS_EXT@
360 XML_CONFIG = @XML_CONFIG@
361 XML_FLAGS = @XML_FLAGS@
362 XML_LIBS = @XML_LIBS@
363 XML_VERSION = @XML_VERSION@
364 X_CFLAGS = @X_CFLAGS@
365 X_EXTRA_LIBS = @X_EXTRA_LIBS@
366 X_LIBS = @X_LIBS@
367 X_PRE_LIBS = @X_PRE_LIBS@
368 abs_builddir = @abs_builddir@
369 abs_srcdir = @abs_srcdir@
370 abs_top_builddir = @abs_top_builddir@
371 abs_top_srcdir = @abs_top_srcdir@
372 ac_ct_CC = @ac_ct_CC@
373 ac_ct_CXX = @ac_ct_CXX@
374 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
375 ac_ct_F77 = @ac_ct_F77@
376 am__include = @am__include@
377 am__leading_dot = @am__leading_dot@
378 am__quote = @am__quote@
379 am__tar = @am__tar@
380 am__untar = @am__untar@
381 bindir = @bindir@
382 build = @build@
383 build_alias = @build_alias@
384 build_cpu = @build_cpu@
385 build_os = @build_os@
386 build_vendor = @build_vendor@
387 builddir = @builddir@
388 cxx_present = @cxx_present@
389 datadir = @datadir@
390 datarootdir = @datarootdir@
391 docdir = @docdir@
392 dvidir = @dvidir@
393 exec_prefix = @exec_prefix@
394 host = @host@
395 host_alias = @host_alias@
396 host_cpu = @host_cpu@
397 host_os = @host_os@
398 host_vendor = @host_vendor@
399 htmldir = @htmldir@
400 includedir = @includedir@
401 infodir = @infodir@
402 install_sh = @install_sh@
403 libdir = @libdir@
404 libexecdir = @libexecdir@
405 localedir = @localedir@
406 localstatedir = @localstatedir@
407 mandir = @mandir@
408 mkdir_p = @mkdir_p@
409 oldincludedir = @oldincludedir@
410 pdfdir = @pdfdir@
411 prefix = @prefix@
412 program_transform_name = @program_transform_name@
413 psdir = @psdir@
414 sbindir = @sbindir@
415 sharedstatedir = @sharedstatedir@
416 srcdir = @srcdir@
417 sysconfdir = @sysconfdir@
418 target_alias = @target_alias@
419 top_build_prefix = @top_build_prefix@
420 top_builddir = @top_builddir@
421 top_srcdir = @top_srcdir@
422
423 #### Target ######
424 modulename = graphic_objects
425
426 #### graphic_objects : Conf files ####
427 libscigraphic_objects_la_rootdir = $(mydatadir)
428 libscigraphic_objects_la_root_DATA = changelog.txt license.txt readme.txt version.xml
429
430 #### graphic_objects : init scripts ####
431 libscigraphic_objects_la_etcdir = $(mydatadir)/etc
432 libscigraphic_objects_la_etc_DATA = etc/graphic_objects.quit \
433                                 etc/graphic_objects.start
434
435
436 # Where all the Scilab stuff is installed (macros, help, ...)
437 mydatadir = $(pkgdatadir)/modules/$(modulename)
438
439 # splint options
440 SPLINT_OPTIONS = -weak -booltype BOOL
441
442 ########################### JAVA ######################################
443 #### We are delegating java compilation to ant... Thanks to that
444 #### the procedure will be the same with Microsoft Windows (C)
445 #### and Linux/Unix
446 #######################################################################
447 TARGETS_ALL = $(am__append_1) $(am__append_2)
448
449 ################ MACROS ######################
450 # Rule to build a macro
451 # NOT USED  AT THE MOMENT
452 SUFFIXES = .sci 
453
454 ########### INSTALL DOCUMENTATION ###################
455
456 # Install documentation files into the right target
457 # We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
458 # automake needs the html files to be present which is not the case when
459 # we are building Scilab
460
461 # Where it should be installed
462 pkgdocdir = $(mydatadir)
463
464 # What is the mask of the help source
465 DOCMASKXML = *.xml
466
467 # What is the mask of the MathML sources
468 DOCMASKMML = *.mml
469
470 ########### INSTALL DATA ###################
471 # Install macros, help & demos
472 # Where it should be installed
473 pkgmacrosdir = $(mydatadir)
474 # Which directory we process
475 MACRODIRS = macros/
476 # Mask of the Scilab sources macros
477 MACROMASK = *.sci
478 # Mask of the Scilab executable sources macros
479 MACROBUILDMASK = *.sce
480 # Mask of the Scilab compiled macros
481 MACROBINMASK = *.bin
482 # List of the standard directory for tests
483 TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests
484 # Where the demos should be installed
485 pkgdemosdir = $(mydatadir)
486 # List of the standard directory for demos
487 DEMOS_DIR = demos
488 # List of the standard directory for examples
489 EXAMPLES_DIR = examples
490 # Where to export JAVA archives (.jar)
491 JARDIR = jar/
492 # JAR files mask
493 JARMASK = *.jar
494 # Chapter file 
495 HELP_CHAPTERDIR = help/
496 HELP_CHAPTERFILE = addchapter.sce
497 HELP_CHAPTERLANG = en_US fr_FR pt_BR
498 GRAPHIC_OBJECTS_JNI_SOURCES = 
499 GRAPHIC_OBJECTS_C_SOURCES = 
500 GRAPHIC_OBJECTS_CPP_SOURCES = 
501 GIWS_WRAPPERS = 
502 @GIWS_TRUE@BUILT_SOURCES = giws
503 @SWIG_TRUE@BUILT_SOURCES = swig
504 GATEWAY_C_SOURCES = sci_gateway/c/gw_graphic_objects.c
505 GATEWAY_CPP_SOURCES = sci_gateway/cpp/sci_graphicfunction.cpp
506 libscigraphic_objects_la_CFLAGS = $(JAVA_JNI_INCLUDE) \
507                         -I$(top_srcdir)/libs/MALLOC/includes/ \
508                         -I$(top_srcdir)/modules/jvm/includes/ \
509                         -I$(top_srcdir)/modules/output_stream/includes \
510                         -I$(top_srcdir)/modules/localization/includes \
511                         -I$(top_srcdir)/modules/api_scilab/includes \
512                         -I$(top_srcdir)/modules/core/includes
513
514 libscigraphic_objects_la_CPPFLAGS = $(JAVA_JNI_INCLUDE) \
515                         -I$(srcdir)/includes/ \
516                         -I$(srcdir)/src/cpp/ \
517                         -I$(srcdir)/src/c/ \
518                         -I$(srcdir)/src/jni/ \
519                         -I$(top_srcdir)/modules/jvm/includes/ \
520                         -I$(top_srcdir)/modules/output_stream/includes \
521                         -I$(top_srcdir)/modules/localization/includes \
522                         -I$(top_srcdir)/modules/api_scilab/includes
523
524
525 # Without the graphic_objects module 
526 libscigraphic_objects_disable_la_CFLAGS = -Iincludes/ \
527                         -I$(top_srcdir)/modules/output_stream/includes
528
529 GRAPHIC_OBJECTS_DISABLE_C_SOURCES = src/nographic_objects/nographic_objects.c
530 libscigraphic_objects_disable_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION) $(LD_FLAGS)
531 libscigraphic_objects_disable_la_SOURCES = $(GRAPHIC_OBJECTS_DISABLE_C_SOURCES)
532 pkglib_LTLIBRARIES = libscigraphic_objects-disable.la $(am__append_3)
533 libscigraphic_objects_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION) $(LD_FLAGS)  $(X_LIBS) $(X_EXTRA_LIBS)
534 libscigraphic_objects_la_SOURCES = $(GRAPHIC_OBJECTS_C_SOURCES) $(GRAPHIC_OBJECTS_JNI_SOURCES) $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES) $(GRAPHIC_OBJECTS_CPP_SOURCES)
535
536 # For the code check (splint)
537 CHECK_SRC = $(GRAPHIC_OBJECTS_C_SOURCES) $(GATEWAY_C_SOURCES)
538 INCLUDE_FLAGS = $(libscigraphic_objects_la_CFLAGS)
539
540 #### SWIG Declaration ####
541 SWIG_WRAPPERS = 
542 libscigraphic_objects_la_LIBADD = $(top_builddir)/modules/core/libscicore.la \
543 $(top_builddir)/libs/MALLOC/libscimalloc.la \
544 $(top_builddir)/modules/output_stream/libscioutput_stream.la
545
546
547 #### graphic_objects : gateway declaration ####
548 libscigraphic_objects_la_sci_gatewaydir = $(mydatadir)/sci_gateway
549 libscigraphic_objects_la_sci_gateway_DATA = sci_gateway/graphic_objects_gateway.xml
550 @GUI_TRUE@USEANT = 1
551 all: $(BUILT_SOURCES)
552         $(MAKE) $(AM_MAKEFLAGS) all-am
553
554 .SUFFIXES:
555 .SUFFIXES: .sci .bin .c .cpp .lo .o .obj
556 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
557         @for dep in $?; do \
558           case '$(am__configure_deps)' in \
559             *$$dep*) \
560               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
561                 && { if test -f $@; then exit 0; else break; fi; }; \
562               exit 1;; \
563           esac; \
564         done; \
565         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/graphic_objects/Makefile'; \
566         $(am__cd) $(top_srcdir) && \
567           $(AUTOMAKE) --foreign modules/graphic_objects/Makefile
568 .PRECIOUS: Makefile
569 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
570         @case '$?' in \
571           *config.status*) \
572             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
573           *) \
574             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
575             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
576         esac;
577
578 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
579         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
580
581 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
582         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
583 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
584         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
585 $(am__aclocal_m4_deps):
586 install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
587         @$(NORMAL_INSTALL)
588         test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
589         @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
590         list2=; for p in $$list; do \
591           if test -f $$p; then \
592             list2="$$list2 $$p"; \
593           else :; fi; \
594         done; \
595         test -z "$$list2" || { \
596           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
597           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
598         }
599
600 uninstall-pkglibLTLIBRARIES:
601         @$(NORMAL_UNINSTALL)
602         @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
603         for p in $$list; do \
604           $(am__strip_dir) \
605           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
606           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
607         done
608
609 clean-pkglibLTLIBRARIES:
610         -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
611         @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
612           dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
613           test "$$dir" != "$$p" || dir=.; \
614           echo "rm -f \"$${dir}/so_locations\""; \
615           rm -f "$${dir}/so_locations"; \
616         done
617 libscigraphic_objects-disable.la: $(libscigraphic_objects_disable_la_OBJECTS) $(libscigraphic_objects_disable_la_DEPENDENCIES) 
618         $(libscigraphic_objects_disable_la_LINK) -rpath $(pkglibdir) $(libscigraphic_objects_disable_la_OBJECTS) $(libscigraphic_objects_disable_la_LIBADD) $(LIBS)
619 libscigraphic_objects.la: $(libscigraphic_objects_la_OBJECTS) $(libscigraphic_objects_la_DEPENDENCIES) 
620         $(libscigraphic_objects_la_LINK) $(am_libscigraphic_objects_la_rpath) $(libscigraphic_objects_la_OBJECTS) $(libscigraphic_objects_la_LIBADD) $(LIBS)
621
622 mostlyclean-compile:
623         -rm -f *.$(OBJEXT)
624
625 distclean-compile:
626         -rm -f *.tab.c
627
628 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscigraphic_objects_disable_la-nographic_objects.Plo@am__quote@
629 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscigraphic_objects_la-gw_graphic_objects.Plo@am__quote@
630 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscigraphic_objects_la-sci_graphicfunction.Plo@am__quote@
631
632 .c.o:
633 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
634 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
635 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
636 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
637 @am__fastdepCC_FALSE@   $(COMPILE) -c $<
638
639 .c.obj:
640 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
641 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
642 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
643 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
644 @am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
645
646 .c.lo:
647 @am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
648 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
649 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
650 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
651 @am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $<
652
653 libscigraphic_objects_disable_la-nographic_objects.lo: src/nographic_objects/nographic_objects.c
654 @am__fastdepCC_TRUE@    $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscigraphic_objects_disable_la_CFLAGS) $(CFLAGS) -MT libscigraphic_objects_disable_la-nographic_objects.lo -MD -MP -MF $(DEPDIR)/libscigraphic_objects_disable_la-nographic_objects.Tpo -c -o libscigraphic_objects_disable_la-nographic_objects.lo `test -f 'src/nographic_objects/nographic_objects.c' || echo '$(srcdir)/'`src/nographic_objects/nographic_objects.c
655 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/libscigraphic_objects_disable_la-nographic_objects.Tpo $(DEPDIR)/libscigraphic_objects_disable_la-nographic_objects.Plo
656 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='src/nographic_objects/nographic_objects.c' object='libscigraphic_objects_disable_la-nographic_objects.lo' libtool=yes @AMDEPBACKSLASH@
657 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
658 @am__fastdepCC_FALSE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscigraphic_objects_disable_la_CFLAGS) $(CFLAGS) -c -o libscigraphic_objects_disable_la-nographic_objects.lo `test -f 'src/nographic_objects/nographic_objects.c' || echo '$(srcdir)/'`src/nographic_objects/nographic_objects.c
659
660 libscigraphic_objects_la-gw_graphic_objects.lo: sci_gateway/c/gw_graphic_objects.c
661 @am__fastdepCC_TRUE@    $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_objects_la_CPPFLAGS) $(CPPFLAGS) $(libscigraphic_objects_la_CFLAGS) $(CFLAGS) -MT libscigraphic_objects_la-gw_graphic_objects.lo -MD -MP -MF $(DEPDIR)/libscigraphic_objects_la-gw_graphic_objects.Tpo -c -o libscigraphic_objects_la-gw_graphic_objects.lo `test -f 'sci_gateway/c/gw_graphic_objects.c' || echo '$(srcdir)/'`sci_gateway/c/gw_graphic_objects.c
662 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/libscigraphic_objects_la-gw_graphic_objects.Tpo $(DEPDIR)/libscigraphic_objects_la-gw_graphic_objects.Plo
663 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='sci_gateway/c/gw_graphic_objects.c' object='libscigraphic_objects_la-gw_graphic_objects.lo' libtool=yes @AMDEPBACKSLASH@
664 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
665 @am__fastdepCC_FALSE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_objects_la_CPPFLAGS) $(CPPFLAGS) $(libscigraphic_objects_la_CFLAGS) $(CFLAGS) -c -o libscigraphic_objects_la-gw_graphic_objects.lo `test -f 'sci_gateway/c/gw_graphic_objects.c' || echo '$(srcdir)/'`sci_gateway/c/gw_graphic_objects.c
666
667 .cpp.o:
668 @am__fastdepCXX_TRUE@   $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
669 @am__fastdepCXX_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
670 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
671 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
672 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ $<
673
674 .cpp.obj:
675 @am__fastdepCXX_TRUE@   $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
676 @am__fastdepCXX_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
677 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
678 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
679 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
680
681 .cpp.lo:
682 @am__fastdepCXX_TRUE@   $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
683 @am__fastdepCXX_TRUE@   $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
684 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
685 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
686 @am__fastdepCXX_FALSE@  $(LTCXXCOMPILE) -c -o $@ $<
687
688 libscigraphic_objects_la-sci_graphicfunction.lo: sci_gateway/cpp/sci_graphicfunction.cpp
689 @am__fastdepCXX_TRUE@   $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_objects_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscigraphic_objects_la-sci_graphicfunction.lo -MD -MP -MF $(DEPDIR)/libscigraphic_objects_la-sci_graphicfunction.Tpo -c -o libscigraphic_objects_la-sci_graphicfunction.lo `test -f 'sci_gateway/cpp/sci_graphicfunction.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_graphicfunction.cpp
690 @am__fastdepCXX_TRUE@   $(am__mv) $(DEPDIR)/libscigraphic_objects_la-sci_graphicfunction.Tpo $(DEPDIR)/libscigraphic_objects_la-sci_graphicfunction.Plo
691 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='sci_gateway/cpp/sci_graphicfunction.cpp' object='libscigraphic_objects_la-sci_graphicfunction.lo' libtool=yes @AMDEPBACKSLASH@
692 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
693 @am__fastdepCXX_FALSE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_objects_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscigraphic_objects_la-sci_graphicfunction.lo `test -f 'sci_gateway/cpp/sci_graphicfunction.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_graphicfunction.cpp
694
695 mostlyclean-libtool:
696         -rm -f *.lo
697
698 clean-libtool:
699         -rm -rf .libs _libs
700 install-libscigraphic_objects_la_etcDATA: $(libscigraphic_objects_la_etc_DATA)
701         @$(NORMAL_INSTALL)
702         test -z "$(libscigraphic_objects_la_etcdir)" || $(MKDIR_P) "$(DESTDIR)$(libscigraphic_objects_la_etcdir)"
703         @list='$(libscigraphic_objects_la_etc_DATA)'; test -n "$(libscigraphic_objects_la_etcdir)" || list=; \
704         for p in $$list; do \
705           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
706           echo "$$d$$p"; \
707         done | $(am__base_list) | \
708         while read files; do \
709           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscigraphic_objects_la_etcdir)'"; \
710           $(INSTALL_DATA) $$files "$(DESTDIR)$(libscigraphic_objects_la_etcdir)" || exit $$?; \
711         done
712
713 uninstall-libscigraphic_objects_la_etcDATA:
714         @$(NORMAL_UNINSTALL)
715         @list='$(libscigraphic_objects_la_etc_DATA)'; test -n "$(libscigraphic_objects_la_etcdir)" || list=; \
716         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
717         test -n "$$files" || exit 0; \
718         echo " ( cd '$(DESTDIR)$(libscigraphic_objects_la_etcdir)' && rm -f" $$files ")"; \
719         cd "$(DESTDIR)$(libscigraphic_objects_la_etcdir)" && rm -f $$files
720 install-libscigraphic_objects_la_rootDATA: $(libscigraphic_objects_la_root_DATA)
721         @$(NORMAL_INSTALL)
722         test -z "$(libscigraphic_objects_la_rootdir)" || $(MKDIR_P) "$(DESTDIR)$(libscigraphic_objects_la_rootdir)"
723         @list='$(libscigraphic_objects_la_root_DATA)'; test -n "$(libscigraphic_objects_la_rootdir)" || list=; \
724         for p in $$list; do \
725           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
726           echo "$$d$$p"; \
727         done | $(am__base_list) | \
728         while read files; do \
729           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscigraphic_objects_la_rootdir)'"; \
730           $(INSTALL_DATA) $$files "$(DESTDIR)$(libscigraphic_objects_la_rootdir)" || exit $$?; \
731         done
732
733 uninstall-libscigraphic_objects_la_rootDATA:
734         @$(NORMAL_UNINSTALL)
735         @list='$(libscigraphic_objects_la_root_DATA)'; test -n "$(libscigraphic_objects_la_rootdir)" || list=; \
736         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
737         test -n "$$files" || exit 0; \
738         echo " ( cd '$(DESTDIR)$(libscigraphic_objects_la_rootdir)' && rm -f" $$files ")"; \
739         cd "$(DESTDIR)$(libscigraphic_objects_la_rootdir)" && rm -f $$files
740 install-libscigraphic_objects_la_sci_gatewayDATA: $(libscigraphic_objects_la_sci_gateway_DATA)
741         @$(NORMAL_INSTALL)
742         test -z "$(libscigraphic_objects_la_sci_gatewaydir)" || $(MKDIR_P) "$(DESTDIR)$(libscigraphic_objects_la_sci_gatewaydir)"
743         @list='$(libscigraphic_objects_la_sci_gateway_DATA)'; test -n "$(libscigraphic_objects_la_sci_gatewaydir)" || list=; \
744         for p in $$list; do \
745           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
746           echo "$$d$$p"; \
747         done | $(am__base_list) | \
748         while read files; do \
749           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscigraphic_objects_la_sci_gatewaydir)'"; \
750           $(INSTALL_DATA) $$files "$(DESTDIR)$(libscigraphic_objects_la_sci_gatewaydir)" || exit $$?; \
751         done
752
753 uninstall-libscigraphic_objects_la_sci_gatewayDATA:
754         @$(NORMAL_UNINSTALL)
755         @list='$(libscigraphic_objects_la_sci_gateway_DATA)'; test -n "$(libscigraphic_objects_la_sci_gatewaydir)" || list=; \
756         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
757         test -n "$$files" || exit 0; \
758         echo " ( cd '$(DESTDIR)$(libscigraphic_objects_la_sci_gatewaydir)' && rm -f" $$files ")"; \
759         cd "$(DESTDIR)$(libscigraphic_objects_la_sci_gatewaydir)" && rm -f $$files
760
761 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
762         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
763         unique=`for i in $$list; do \
764             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
765           done | \
766           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
767               END { if (nonempty) { for (i in files) print i; }; }'`; \
768         mkid -fID $$unique
769 tags: TAGS
770
771 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
772                 $(TAGS_FILES) $(LISP)
773         set x; \
774         here=`pwd`; \
775         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
776         unique=`for i in $$list; do \
777             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
778           done | \
779           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
780               END { if (nonempty) { for (i in files) print i; }; }'`; \
781         shift; \
782         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
783           test -n "$$unique" || unique=$$empty_fix; \
784           if test $$# -gt 0; then \
785             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
786               "$$@" $$unique; \
787           else \
788             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
789               $$unique; \
790           fi; \
791         fi
792 ctags: CTAGS
793 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
794                 $(TAGS_FILES) $(LISP)
795         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
796         unique=`for i in $$list; do \
797             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
798           done | \
799           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
800               END { if (nonempty) { for (i in files) print i; }; }'`; \
801         test -z "$(CTAGS_ARGS)$$unique" \
802           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
803              $$unique
804
805 GTAGS:
806         here=`$(am__cd) $(top_builddir) && pwd` \
807           && $(am__cd) $(top_srcdir) \
808           && gtags -i $(GTAGS_ARGS) "$$here"
809
810 distclean-tags:
811         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
812
813 distdir: $(DISTFILES)
814         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
815         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
816         list='$(DISTFILES)'; \
817           dist_files=`for file in $$list; do echo $$file; done | \
818           sed -e "s|^$$srcdirstrip/||;t" \
819               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
820         case $$dist_files in \
821           */*) $(MKDIR_P) `echo "$$dist_files" | \
822                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
823                            sort -u` ;; \
824         esac; \
825         for file in $$dist_files; do \
826           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
827           if test -d $$d/$$file; then \
828             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
829             if test -d "$(distdir)/$$file"; then \
830               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
831             fi; \
832             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
833               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
834               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
835             fi; \
836             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
837           else \
838             test -f "$(distdir)/$$file" \
839             || cp -p $$d/$$file "$(distdir)/$$file" \
840             || exit 1; \
841           fi; \
842         done
843 check-am: all-am
844         $(MAKE) $(AM_MAKEFLAGS) check-local
845 check: $(BUILT_SOURCES)
846         $(MAKE) $(AM_MAKEFLAGS) check-am
847 all-am: Makefile $(LTLIBRARIES) $(DATA) all-local
848 installdirs:
849         for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscigraphic_objects_la_etcdir)" "$(DESTDIR)$(libscigraphic_objects_la_rootdir)" "$(DESTDIR)$(libscigraphic_objects_la_sci_gatewaydir)"; do \
850           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
851         done
852 install: $(BUILT_SOURCES)
853         $(MAKE) $(AM_MAKEFLAGS) install-am
854 install-exec: install-exec-am
855 install-data: install-data-am
856 uninstall: uninstall-am
857
858 install-am: all-am
859         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
860
861 installcheck: installcheck-am
862 install-strip:
863         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
864           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
865           `test -z '$(STRIP)' || \
866             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
867 mostlyclean-generic:
868
869 clean-generic:
870
871 distclean-generic:
872         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
873         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
874
875 maintainer-clean-generic:
876         @echo "This command is intended for maintainers to use"
877         @echo "it deletes files that may require special tools to rebuild."
878         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
879 clean: clean-am
880
881 clean-am: clean-generic clean-libtool clean-local \
882         clean-pkglibLTLIBRARIES mostlyclean-am
883
884 distclean: distclean-am
885         -rm -rf ./$(DEPDIR)
886         -rm -f Makefile
887 distclean-am: clean-am distclean-compile distclean-generic \
888         distclean-local distclean-tags
889
890 dvi: dvi-am
891
892 dvi-am:
893
894 html: html-am
895
896 html-am:
897
898 info: info-am
899
900 info-am:
901
902 install-data-am: install-data-local \
903         install-libscigraphic_objects_la_etcDATA \
904         install-libscigraphic_objects_la_rootDATA \
905         install-libscigraphic_objects_la_sci_gatewayDATA
906
907 install-dvi: install-dvi-am
908
909 install-dvi-am:
910
911 install-exec-am: install-pkglibLTLIBRARIES
912
913 install-html: install-html-am
914
915 install-html-am: install-html-local
916
917 install-info: install-info-am
918
919 install-info-am:
920
921 install-man:
922
923 install-pdf: install-pdf-am
924
925 install-pdf-am:
926
927 install-ps: install-ps-am
928
929 install-ps-am:
930
931 installcheck-am:
932
933 maintainer-clean: maintainer-clean-am
934         -rm -rf ./$(DEPDIR)
935         -rm -f Makefile
936 maintainer-clean-am: distclean-am maintainer-clean-generic
937
938 mostlyclean: mostlyclean-am
939
940 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
941         mostlyclean-libtool
942
943 pdf: pdf-am
944
945 pdf-am:
946
947 ps: ps-am
948
949 ps-am:
950
951 uninstall-am: uninstall-libscigraphic_objects_la_etcDATA \
952         uninstall-libscigraphic_objects_la_rootDATA \
953         uninstall-libscigraphic_objects_la_sci_gatewayDATA \
954         uninstall-pkglibLTLIBRARIES
955
956 .MAKE: all check check-am install install-am install-strip
957
958 .PHONY: CTAGS GTAGS all all-am all-local check check-am check-local \
959         clean clean-generic clean-libtool clean-local \
960         clean-pkglibLTLIBRARIES ctags distclean distclean-compile \
961         distclean-generic distclean-libtool distclean-local \
962         distclean-tags distdir dvi dvi-am html html-am info info-am \
963         install install-am install-data install-data-am \
964         install-data-local install-dvi install-dvi-am install-exec \
965         install-exec-am install-html install-html-am \
966         install-html-local install-info install-info-am \
967         install-libscigraphic_objects_la_etcDATA \
968         install-libscigraphic_objects_la_rootDATA \
969         install-libscigraphic_objects_la_sci_gatewayDATA install-man \
970         install-pdf install-pdf-am install-pkglibLTLIBRARIES \
971         install-ps install-ps-am install-strip installcheck \
972         installcheck-am installdirs maintainer-clean \
973         maintainer-clean-generic mostlyclean mostlyclean-compile \
974         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
975         tags uninstall uninstall-am \
976         uninstall-libscigraphic_objects_la_etcDATA \
977         uninstall-libscigraphic_objects_la_rootDATA \
978         uninstall-libscigraphic_objects_la_sci_gatewayDATA \
979         uninstall-pkglibLTLIBRARIES
980
981
982 # This target enables tests for Scilab
983 check-local: $(top_builddir)/scilab-bin test
984         @COMMAND="test_run('$(modulename)');quit";\
985         export LANG=C;\
986         $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"
987 check-code:
988         if test -f build.xml; then \
989                 $(ANT) checkstyle; \
990         fi
991         if test -x "$(SPLINT)"; then \
992                 $(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); \
993         fi
994 @NEED_JAVA_TRUE@java:
995 # Some configurations needs to export JAVA_HOME in the current env
996 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
997 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
998 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
999 @NEED_JAVA_TRUE@                $(ANT); \
1000 @NEED_JAVA_TRUE@        fi
1001
1002 @NEED_JAVA_TRUE@clean-java:
1003 # Some configurations needs to export JAVA_HOME in the current env
1004 @NEED_JAVA_TRUE@        @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
1005 @NEED_JAVA_TRUE@        if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1006 @NEED_JAVA_TRUE@        if test -f build.xml -a $$USEANT -eq 1; then \
1007 @NEED_JAVA_TRUE@                $(ANT) clean; \
1008 @NEED_JAVA_TRUE@        fi;
1009
1010 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
1011 # We call the target swig-build on the variable SWIG_WRAPPERS
1012
1013 @SWIG_TRUE@swig: $(SWIG_WRAPPERS)
1014 @SWIG_TRUE@     @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
1015 @SWIG_TRUE@     SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
1016 @SWIG_TRUE@     if test -n "$(SWIG_WRAPPERS)"; then \
1017 @SWIG_TRUE@             for file in $(SWIG_WRAPPERS) ; do \
1018 @SWIG_TRUE@                     echo "Swig process of $$file ..."; \
1019 @SWIG_TRUE@                     $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME  -outdir $$SWIG_OUTDIR $$file; \
1020 @SWIG_TRUE@             done; \
1021 @SWIG_TRUE@     fi
1022
1023 # If the user request for the SWIG generation of the wrappers Java => C/C++ 
1024 # We call the target swig-build on the variable SWIG_WRAPPERS
1025
1026 @GIWS_TRUE@giws: $(GIWS_WRAPPERS)
1027 @GIWS_TRUE@     @GIWS_OUTPUTDIR=src/jni/;\
1028 @GIWS_TRUE@     if test -n "$(GIWS_WRAPPERS)"; then \
1029 @GIWS_TRUE@             for file in $(GIWS_WRAPPERS) ; do \
1030 @GIWS_TRUE@                     echo "GIWS process of $$file ..."; \
1031 @GIWS_TRUE@                     $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR --throws-exception-on-error --description-file $$file; \
1032 @GIWS_TRUE@             done; \
1033 @GIWS_TRUE@     fi
1034
1035 macros:
1036         -@( if test ! -x $(top_builddir)/scilab-bin; then \
1037                 echo "Error : Cannot build $< : Scilab has not been built"; \
1038         else \
1039                 $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
1040         fi)
1041
1042 # Removes the macros
1043 clean-macros:
1044 # Removes macros (*.bin generated from .sci)
1045         @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1046                 echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
1047                 rm -f $(builddir)/$$dir/$(MACROBINMASK); \
1048         done
1049
1050 test:
1051 # More tests could be added here
1052         @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
1053         if test -f build.xml -a $$USEANT -eq 1; then \
1054                 $(ANT) test; \
1055         fi
1056
1057 all-local: $(TARGETS_ALL)
1058
1059 .sci.bin:
1060         -@( if test ! -x $(top_builddir)/scilab-bin; then \
1061         echo "Error : Cannot build $< : Scilab has not been build"; \
1062         else \
1063         echo "Creating $@"; \
1064         $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
1065         fi )
1066
1067 install-html-local:
1068 # If the user wants the help sources to be installed
1069 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
1070 @INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
1071 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/$$lang; then \
1072 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
1073 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
1074 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
1075 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
1076 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
1077 @INSTALL_HELP_XML_TRUE@           done ; \
1078 @INSTALL_HELP_XML_TRUE@         fi; \
1079 @INSTALL_HELP_XML_TRUE@  fi; \
1080 @INSTALL_HELP_XML_TRUE@ done; \
1081 @INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
1082 @INSTALL_HELP_XML_TRUE@  if test -d $(srcdir)/help/mml/; then \
1083 @INSTALL_HELP_XML_TRUE@   $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
1084 @INSTALL_HELP_XML_TRUE@         if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
1085 @INSTALL_HELP_XML_TRUE@           for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
1086 @INSTALL_HELP_XML_TRUE@             echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
1087 @INSTALL_HELP_XML_TRUE@         $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
1088 @INSTALL_HELP_XML_TRUE@           done ; \
1089 @INSTALL_HELP_XML_TRUE@         fi; \
1090 @INSTALL_HELP_XML_TRUE@ fi
1091 install-data-local:
1092 # Install the tests
1093         @echo "-------- Install tests (if any) --------"; \
1094         for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
1095           if test -d $(srcdir)/$$dir/; then \
1096             $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1097                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1098                     if test -d "$(srcdir)/$$dir/$$file"; then \
1099                           echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
1100                           $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
1101                     else \
1102                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1103                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
1104                     fi \
1105                   done; \
1106           fi; \
1107         done
1108 # Install the help chapter
1109         @echo "-------- Install the help chapter (if any) --------"; \
1110         for lang in $(HELP_CHAPTERLANG); do \
1111                 HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
1112                 if test -f $$HELPFILE; then \
1113                         echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1114                         $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
1115                         echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1116                         $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
1117                 fi; \
1118         done
1119 # Install the demos & examples
1120         @echo "-------- Install demos & examples (if any) --------"; \
1121         for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
1122           if test -d $(srcdir)/$$dir/; then \
1123             $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
1124                   for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
1125                     if test -d "$(srcdir)/$$dir/$$file"; then \
1126                           echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
1127                           $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
1128                     else \
1129                       echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1130                   $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
1131                     fi \
1132                   done; \
1133           fi; \
1134         done
1135 # Install the macros
1136         @echo "-------- Install macros (if any) --------"; \
1137         for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
1138           $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
1139                 if test -d $(srcdir)/$$dir/; then \
1140                         FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
1141                         if test -n "$(MACROSSPECIALEXT)"; then \
1142                                 specialExtDir=""; \
1143                                 for specialExt in $(MACROSSPECIALEXT); do \
1144                                         specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
1145                                 done; \
1146                                 FILELIST="$$FILELIST $$specialExtDir"; \
1147                         fi; \
1148                   for file in `ls -1 $$FILELIST 2>/dev/null`; do \
1149                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
1150                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
1151                   done; \
1152                 fi; \
1153         done
1154 # Install java files (.jar)
1155         @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
1156         echo "-------- Install jar files --------"; \
1157     $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
1158           for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
1159                     echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
1160                 $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
1161           done ; \
1162         fi
1163
1164 ########### CLEAN ###################
1165 # Clean macros and help (generated automatically by Scilab)
1166 @NEED_JAVA_TRUE@clean-local: clean-java clean-macros
1167 @NEED_JAVA_FALSE@clean-local: clean-macros
1168
1169 distclean-local:
1170         rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
1171
1172 .PHONY: macros java swig giws
1173
1174 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1175 # Otherwise a system limit (for SysV at least) may be exceeded.
1176 .NOEXPORT: