1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2007-2008 - INRIA - Sylvestre Ledru <sylvestre.ledru@inria.fr>
3 # Copyright (C) 2007-2008 - INRIA - Vincent COUVERT <vincent.couvert@inria.fr>
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 ACTION_BINDING_C_SOURCES = src/c/InterpreterManagement.c
18 # List of the c++ file
19 ACTION_BINDING_CPP_SOURCES = src/jni/Signal.cpp \
21 src/jni/GiwsException.cpp
23 # List of the gateway c files
24 CONSOLE_C_JNI_SOURCES = src/jni/InterpreterManagement_wrap.c
26 GATEWAY_C_SOURCES = sci_gateway/c/gw_action_binding.c
28 GATEWAY_CPP_SOURCES = sci_gateway/cpp/sci_notify.cpp
30 #### SWIG Declaration ####
31 SWIG_WRAPPERS = src/jni/InterpreterManagement.i
35 ACTION_BINDING_C_SOURCES = src/noaction_binding/noaction_binding.c
42 GIWS_WRAPPERS = src/jni/Signal.giws.xml
48 libsciaction_binding_disable_la_SOURCES = src/noaction_binding/noaction_binding.c
49 libsciaction_binding_disable_la_CFLAGS = -I$(srcdir)/includes/ \
50 -I$(top_srcdir)/modules/output_stream/includes
52 # Includes need for the compilation
53 libsciaction_binding_la_CFLAGS= $(JAVA_JNI_INCLUDE) \
54 -I$(srcdir)/includes/ \
56 -I$(srcdir)/src/jni/ \
57 -I$(top_srcdir)/libs/MALLOC/includes/ \
58 -I$(top_srcdir)/modules/jvm/includes/ \
59 -I$(top_srcdir)/modules/api_scilab/includes \
60 -I$(top_srcdir)/modules/output_stream/includes \
61 -I$(top_srcdir)/modules/types/includes
63 # Includes need for the compilation
64 libsciaction_binding_la_CPPFLAGS= $(JAVA_JNI_INCLUDE) \
65 -I$(srcdir)/includes/ \
67 -I$(srcdir)/src/jni/ \
68 -I$(top_srcdir)/libs/MALLOC/includes/ \
69 -I$(top_srcdir)/modules/jvm/includes/ \
70 -I$(top_srcdir)/modules/api_scilab/includes \
71 -I$(top_srcdir)/modules/output_stream/includes \
72 -I$(top_srcdir)/modules/types/includes
74 # Name of the future library (.la will be replace by .so, .a, etc regarding
76 pkglib_LTLIBRARIES = libsciaction_binding-disable.la
79 pkglib_LTLIBRARIES += libsciaction_binding.la
80 noinst_LTLIBRARIES = libsciaction_binding-algo.la
83 libsciaction_binding_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION) $(LD_FLAGS)
85 # All the sources needed by libsciaction_binding.la
86 libsciaction_binding_algo_la_SOURCES = $(ACTION_BINDING_C_SOURCES) $(ACTION_BINDING_CPP_SOURCES) $(CONSOLE_C_JNI_SOURCES)
87 libsciaction_binding_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES)
88 libsciaction_binding_algo_la_CFLAGS = $(libsciaction_binding_la_CFLAGS)
89 libsciaction_binding_algo_la_CPPFLAGS = $(libsciaction_binding_la_CPPFLAGS)
92 # For the code check (splint)
93 CHECK_SRC= $(ACTION_BINDING_C_SOURCES) $(GATEWAY_C_SOURCES)
94 INCLUDE_FLAGS = $(libsciaction_binding_la_CFLAGS)
96 ## Libraries necessary
97 ## Change to include other Scilab modules/lib
98 libsciaction_binding_la_LIBADD = libsciaction_binding-algo.la $(top_builddir)/libs/MALLOC/libscimalloc.la \
99 $(top_builddir)/modules/output_stream/libscioutput_stream.la
102 # $(top_builddir)/modules/jvm/libscijvm.la
104 #### Name of the module and the path ######
105 modulename=action_binding
107 #### action_binding : Conf files ####
108 libsciaction_binding_la_rootdir = $(mydatadir)
109 libsciaction_binding_la_root_DATA = license.txt
111 ####�action_binding : init scripts ####
112 libsciaction_binding_la_etcdir = $(mydatadir)/etc
113 libsciaction_binding_la_etc_DATA = etc/action_binding.quit etc/action_binding.start
116 ####�action_binding : gateway declaration ####
117 libsciaction_binding_la_sci_gatewaydir = $(mydatadir)/sci_gateway
118 libsciaction_binding_la_sci_gateway_DATA = sci_gateway/action_binding_gateway.xml
120 # Provides macros compilation, Java compilation, cleaning
121 # If you want Makefile to call ant, added USEANT=1
122 include $(top_srcdir)/Makefile.incl.am