2 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 # Copyright (C) DIGITEO - 2010 - Allan CORNET
5 # This file must be used under the terms of the CeCILL.
6 # This source file is licensed as described in the file COPYING, which
7 # you should have received as part of this distribution. The terms
8 # are also available at
9 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
16 #### types : Conf files ####
17 libscitypes_la_rootdir = $(mydatadir)
18 libscitypes_la_root_DATA = license.txt
21 #### types : init scripts ####
22 libscitypes_la_etcdir = $(mydatadir)/etc
23 libscitypes_la_etc_DATA = etc/types.quit \
26 include $(top_srcdir)/Makefile.incl.am
31 TYPES_C_SOURCES = src/jni/getScilabVariable_wrap.c
33 TYPES_CPP_SOURCES = src/cpp/ScilabToJava.cpp \
34 src/jni/ScilabVariables.cpp \
35 src/jni/ScilabVariablesRefresh.cpp \
36 src/jni/ScilabPolynomialToJava.cpp
38 GIWS_WRAPPERS = src/jni/ScilabVariables.giws.xml
47 #GATEWAY_CPP_SOURCES =
49 libscitypes_la_CFLAGS = $(JAVA_JNI_INCLUDE) \
52 libscitypes_la_CPPFLAGS = $(JAVA_JNI_INCLUDE) \
55 -I$(srcdir)/includes \
56 -I$(top_srcdir)/modules/commons/src/jni/ \
57 -I$(top_srcdir)/modules/jvm/includes/ \
58 -I$(top_srcdir)/modules/output_stream/includes \
59 -I$(top_srcdir)/modules/api_scilab/includes
61 # Without the types module
62 libscitypes_disable_la_CFLAGS =
64 TYPES_DISABLE_C_SOURCES =
65 libscitypes_disable_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION) $(LD_FLAGS)
66 libscitypes_disable_la_SOURCES = $(TYPES_DISABLE_C_SOURCES)
67 libscitypes_algo_la_SOURCES = $(TYPES_C_SOURCES) $(TYPES_JNI_SOURCES) $(TYPES_CPP_SOURCES)
68 libscitypes_algo_la_CFLAGS = $(libscitypes_la_CFLAGS)
69 libscitypes_algo_la_CPPFLAGS = $(libscitypes_la_CPPFLAGS)
71 libscitypes_la_LIBADD = $(top_builddir)/modules/commons/libscicommons.la \
72 $(top_builddir)/modules/jvm/libscijvm.la \
73 $(top_builddir)/modules/libscilab-cli/libscilab-cli.la
75 pkglib_LTLIBRARIES = libscitypes-disable.la
78 pkglib_LTLIBRARIES += libscitypes.la
79 noinst_LTLIBRARIES = libscitypes-algo.la
82 libscitypes_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION) $(LD_FLAGS) $(X_LIBS) $(X_EXTRA_LIBS)
84 libscitypes_la_SOURCES = $(TYPES_C_SOURCES) $(TYPES_JNI_SOURCES) $(TYPES_CPP_SOURCES)
85 #libscitypes_algo_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES)
87 # For the code check (splint)
88 CHECK_SRC= $(TYPES_C_SOURCES) $(GATEWAY_C_SOURCES)
89 INCLUDE_FLAGS = $(libscitypes_la_CFLAGS)
92 #### SWIG Declaration ####
93 SWIG_WRAPPERS = src/jni/sci_types.i \
94 src/jni/getScilabVariable.i
103 BUILT_SOURCES += giws-exception
106 #### types : gateway declaration ####
107 libscitypes_la_sci_gatewaydir = $(mydatadir)/sci_gateway
108 libscitypes_la_sci_gateway_DATA =